How To Install Omnet++ In Ubuntu 18.04.1

Computer Science Engineering
2 min readDec 14, 2018

--

step by step installation process of Omnet++ or Omnetpp in Ubuntu 18.04.1

Before starting the installation, refresh the database of available packages. Type in the terminal:

$ sudo apt-get update

To install the required packages, type in the terminal:

$ sudo apt-get install build-essential gcc g++ bison flex perl \python python3 qt5-default libqt5opengl5-dev tcl-dev tk-dev \libxml2-dev zlib1g-dev default-jre doxygen graphviz libwebkitgtk-1.0 openscenegraph-plugin-osgearth libosgearth-dev openmpi-bin libopenmpi-dev libpcap-dev gnome-color-chooser nemiver

Now Download the omnetpp file from omnet website

Click on this: Get the Ubuntu File

open a new terminal

$ cd Downloads

$ tar xvfz omnetpp-5.4.1-src-linux.tgz

$ cd omnetpp-5.4.1

$ . setenv

** note down space between . and setenv

** Now copy the path which is /home/user/Downloads/omnetpp-5.4.1

$ gedit ~/.bashrc

**Add the following line at the end of the file, then save it:

export PATH=$PATH:/home/user/Downloads/omnetpp-5.4.1/bin

**Here user is your pc-name

**now closed the current terminal which is very important

open a new terminal

$ cd Downloads

$ cd omnetpp-5.2.1

$ ./configure

$ make

$ omnetpp

Video Tutorial

हर उपयोगी जानकारी से अपडेट रहने के लिए, अभी सब्सक्राइब करे।

Please Like and Subscribe YouTube Channel: https://www.youtube.com/computerscienceengineering

LinkedIn profile: https://www.linkedin.com/in/computerscienceengineering

--

--

Computer Science Engineering

A blog about Computer Science Information Technology || Please Like and Subscribe YouTube Channel: https://www.youtube.com/computerscienceengineering