Ns3 Projects for B.E/B.Tech M.E/M.Tech PhD Scholars.  Phone-Number:9790238391   E-mail: ns3simulation@gmail.com

How to Install Ns3 in Ubuntu 18.04 Step by Step

           To answer this question “how to install ns3 in Ubuntu 18.04 step by step”, our research professionals have described this article. So, make use of it to grab the answers.

Phase: I

           Initially, we have to get to know about the required libraries or the packages that are required for the installation of ns3. We have to implement the following commands based on Ubuntu 18.04 terminal window to install the libraries based on Ns3.

sudo apt-get install gcc g++ python

sudo apt-get install gcc g++ python python-dev

sudo apt-get install mercurial python-setuptools git

sudo apt-get install qt5-default

sudo apt-get install gir1.2-goocanvas-2.0 python-gi python-gi-cairo python-pygraphviz python3-gi python3-gi-cairo python3-pygraphviz gir1.2-gtk-3.0 ipython ipython3

sudo apt-get install openmpi-bin openmpi-common openmpi-doc libopenmpi-dev

sudo apt-get install autoconf cvs bzr unrar

sudo apt-get install gdb valgrind

sudo apt-get install uncrustify

sudo apt-get install doxygen graphviz imagemagick

sudo apt-get install texlive texlive-extra-utils texlive-latex-extra texlive-font-utils texlive-lang-portuguese dvipng latexmk

sudo apt-get install python-sphinx dia  sudo apt-get install gsl-bin libgsl-dev

sudo apt-get install flex bison libfl-dev

sudo apt-get install tcpdump

sudo apt-get install sqlite sqlite3 libsqlite3-dev

sudo apt-get install libxml2 libxml2-dev

sudo apt-get install cmake libc6-dev libc6-dev-i386 libclang-dev llvm-dev automake

sudo apt install python-pip sudo pip install cxxfilt

sudo apt-get install libgtk2.0-0 libgtk2.0-dev

sudo apt-get install vtun lxc

Phase: II

       Next, we have to download the package of bake master through the below mentioned URL.

https://gitlab.com/nsnam/bake

Link to Download Bake Master

Phase: III

         Finally, we have to install the ns-allinone-3.29 which is considered as the target version of ns3 through the execution of the following commands in Ubuntu 18.04 terminal window.

/home/research/bake-master/bake

./bake.py configure -e ns-allinone-3.29

        If you guys have any issues while installing the ns3 packages in Ubuntu 18.04, without any hesitation you guys can contact us.