layout | title | underMenu |
---|---|---|
page |
Installing INET |
Documentation |
The recommended way of installing the INET Framework, especially less recent versions, is opp_env. opp_env provides automated installation of over 70 models or model frameworks, with dependencies, including matching versions of OMNeT++.
An example session:
$ mkdir inet_workspace $ cd inet_workspace $ opp_env init $ opp_env install inet-latest # or replace "latest" with a specific version $ opp_env shell
Note that this installs OMNeT++ too, so you don't need a pre-existing installation.
All-in-one variant:
$ opp_env shell --init -w inet_workspace --install inet-latest
Recent versions of the OMNeT++ IDE can download and install INET (the latest stable version) for you.
Steps to follow?
- Install OMNeT++
- Open the Simulation IDE (
omnetpp
) - Go to the workbench (dismiss the Welcome screen). The first time you do this, a prompt will ask if you want to install INET.
- Keep the boxes checked and proceed.
If you skipped this step (opened the workbench but skipped installing INET), nothing is lost:
- Go to Help -> Install Simulation Models.
- A dialog will appear with the available simulation models. Select INET and follow the prompts.
Both ways, the IDE will download, unpack, and automatically build INET from the sources.
If you downloaded an INET version other than the latest stable one, and you cannot or don't want to use opp_env, you'll need to install it manually.
The procedure:
- Install the matching version of OMNeT++.
- Download the INET sources and unpack the archive.
- Follow the instructions in the
INSTALL
(orINSTALL.md
) file in the archive.
You can read the INSTALL
file that belongs to the current development version (git master
branch)
here.