Skip to content

Commit 3868d5d

Browse files
committed
Download: "the recommended way of installing INET is opp_env"
1 parent c719fcc commit 3868d5d

2 files changed

Lines changed: 42 additions & 23 deletions

File tree

Download.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,10 @@ title: Download
44
underMenu: Download
55
---
66

7-
<div class="alert alert-warning">
8-
<b>Do you really need to download?</b> Recent versions of the OMNeT++ IDE can download and install INET (the latest stable version) for you. <a href="Installation.html">Learn more.</a>
9-
</div>
10-
117
## Stable Releases
128

9+
**Note: Downloading INET manually is generally not recommended.** Instead, use a package manager like [opp_env](http://omnetpp.org/opp_env) or the OMNeT++ IDE to install INET for you. See the [Installing INET](Installation.html) page for details.
10+
1311
Downloads of stable releases are available here. It is recommended that you use the latest stable release for projects.
1412

1513
Latest releases:

Installation.md

Lines changed: 40 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,37 +4,58 @@ title: Installing INET
44
underMenu: Documentation
55
---
66

7-
<div class="alert alert-warning">
8-
<p><b>Prerequisite:</b> Download and install OMNeT++ from <a href="http://omnetpp.org" target="_blank">omnetpp.org</a>.</p>
9-
</div>
7+
## Using the opp_env Package Manager
108

11-
## Automatic Installation
9+
The recommended way of installing the INET Framework, especially less recent versions, is [opp_env](http://omnetpp.org/opp_env).
10+
opp_env provides automated installation of over 70 models or model frameworks, with dependencies, including matching versions of OMNeT++.
11+
12+
An example session:
13+
14+
<pre>
15+
$ mkdir inet_workspace
16+
$ cd inet_workspace
17+
$ opp_env init
18+
$ opp_env install inet-latest # or replace "latest" with a specific version
19+
$ opp_env shell
20+
</pre>
21+
22+
Note that this **installs OMNeT++ too**, so you don't need a pre-existing installation.
23+
24+
All-in-one variant:
25+
26+
<pre>
27+
$ opp_env shell --init -w inet_workspace --install inet-latest
28+
</pre>
29+
30+
## Using the OMNeT++ IDE
1231

1332
Recent versions of the OMNeT++ IDE can download and install INET (the latest stable version) for you.
1433

15-
How does it work?
34+
Steps to follow?
1635

17-
1. Open the OMNeT++ IDE (`omnetpp`)
18-
2. Go to the workbench (dismiss the Welcome screen). The first time you do this, a prompt will ask if you want to install INET.
19-
3. Keep the boxes checked and proceed.
36+
1. Install OMNeT++
37+
2. Open the Simulation IDE (`omnetpp`)
38+
3. Go to the workbench (dismiss the Welcome screen). The first time you do this, a prompt will ask if you want to install INET.
39+
4. Keep the boxes checked and proceed.
2040

2141
If you skipped this step (opened the workbench but skipped installing INET), nothing is lost:
2242

2343
1. Go to *Help -> Install Simulation Models*.
24-
2. A dialog will appear with the available simulation models. Currently only INET is listed there, simply select it and follow the prompts.
44+
2. A dialog will appear with the available simulation models. Select INET and follow the prompts.
2545

26-
Both ways, the IDE will download, unzip, and automatically build INET from the sources.
46+
Both ways, the IDE will download, unpack, and automatically build INET from the sources.
2747

2848
## Manual Installation
2949

30-
You'll need manual installation if you downloaded an INET version other than
31-
the latest stable one, or you have cloned the INET git repository to the local filesystem.
32-
The only "tricky" part is how to import the project into the workspace.
50+
If you downloaded an INET version other than the latest stable one, and you
51+
cannot or don't want to use *opp_env*, you'll need to install it manually.
52+
53+
The procedure:
54+
55+
1. Install the matching version of OMNeT++.
56+
2. Download the INET sources and unpack the archive.
57+
3. Follow the instructions in the `INSTALL` (or `INSTALL.md`) file in the archive.
3358

34-
1. Download the INET sources.
35-
2. Unpack it into the directory of your choice: `tar xvfz inet-<version>.tgz`.
36-
3. Start the OMNeT++ IDE, and import the project via *File -> Import -> Existing Projects to the Workspace*. A project named `INET` should appear.
37-
4. Build with *Project -> Build*, or hit <kbd>Ctrl+B</kbd>.
38-
5. Now you should be able to launch example simulations.
59+
You can read the `INSTALL` file that belongs to the current development version (git `master` branch)
60+
[here](https://github.com/inet-framework/inet/blob/master/INSTALL.md).
3961

40-
Please also read the `INSTALLATION` file in the INET sources, as it may contain additional information.

0 commit comments

Comments
 (0)