Ubuntu: Install OMNeT++ simulation tool

Dependent library##

Note:
These dependent libraries need to be installed in advance under Ubuntu.
Other Linux systems do not need it, you can skip to the tool installation directly.

sudo apt-get update

sudo apt-get install build-essential gcc g++ bison flex perl \
qt5-default tcl-dev tk-dev libxml2-dev zlib1g-dev default-jre \
doxygen graphviz libwebkitgtk-3.0-0

sudo apt-get install libopenscenegraph-dev \
openscenegraph-plugin-osgearth libosgearth-dev

sudo apt-get install openmpi-bin libopenmpi-dev

Tool installation##

Download OMNeT++ from omnet official website:

Unzip it to generate the omnetpp-5.2.1 folder.

Enter this folder:

cd omnetpp-5.2.1

Execution setting environment:

. setenv

Open the .bashrc file:

sudo gedit ~/.bashrc

Add this command to the end of the .bashrc file:

export PATH=/home/hok/Software/omnetpp/omnetpp-5.2.1/bin:$PATH

Close the current process and let the settings take effect.

source ~/.bashrc

Reopen the new terminal.

Perform configuration:

. /configure

or ./configure WITH_OSG=no , ./configure WITH_TKENV=no WITH_QTENV=no .

Start compiling:

make -j8

Enter omnetpp in the terminal to open the installed OMNeT++ simulation tool:

omnetpp

Optional##

Install menu bar startup items:

make install-menu-item

Install desktop shortcut (no need):

make install-desktop-icon

complete##

At this point, the installation is complete.

Recommended Posts

Ubuntu: Install OMNeT++ simulation tool
Small tool: install screenshot tool under ubuntu
Ubuntu 20.04 use must install tool software
ubuntu18.04 install python2
ubuntu18.04 install docker
ubuntu12.04 install python3
Ubuntu install guide
ubuntu 16 install asp.net
ubuntu install leanote
ubuntu install Jenkins
docker install ubuntu
ubuntu install elasticsearch
ubuntu16.0.1 install pagoda
ubuntu18.04 install python
ubuntu 18.04 install teamviewer
ubuntu install sendmail
How to install Munin monitoring tool on Ubuntu 14.04
Install apache+PHP under Ubuntu
Install mysql-pytho in Ubuntu
Install Redis on Ubuntu
Install R4 on ubuntu20
Install nvtop on Ubuntu 18.04
Install postgresql-10 on Ubuntu 18.04
Install python3.6 under Ubuntu 16.04
Ubuntu18.04 install opencv 3.2.0 solution
Install mysql under Ubuntu 16.04
Install Thrift under ubuntu 14.10
Install OpenJDK10 under Ubuntu
Install Caffe under Ubuntu 14.04
Install Docker on ubuntu18.04
ubuntu install harbor warehouse
Install mysql on Ubuntu 14.04
Ubuntu16.04 install Mongodb tutorial
Install Django on ubuntu
Install Pytorch+CUDA on Ubuntu 16.04
2018-09-11 Install arduino under Ubuntu
Install Python3 on Ubuntu 14.04
Ubuntu18.04 install Asterisk16.10 + FreePBX15.0
Ubuntu19 install MySQL pit
ubuntu16.04 install node.js, npm
Install rJava on Ubuntu18
Install JDK10+ on Ubuntu
pcduino ubuntu install os
Install python in Ubuntu
Install JDK in Ubuntu19.10
Install Python3 on Ubuntu 16.04
Install ROS under ROS Ubuntu 18.04[2]
Install MySQL under Ubuntu
Install KDE on Ubuntu16.04.2
ubuntu install nginx server
Install Yarm-PM2 under Ubuntu
Install Docker on Ubuntu18
Install Python3.7 on Ubuntu
Install flashplayer on Ubuntu
ubuntu: install camera driver
ubuntu14.04 install jdk1.8 tutorial
Docker practice (1): install Docker on Ubuntu 16.04
ubuntu16.04 install caffe cpu version
Install ubuntu on virtual machine
Windows 10 install Linux subsystem Ubuntu
Install QQ robot on Ubuntu 16.04