Ns2 Installation in Ubuntu 16.04

Here, our research professionals have highlighted the steps that are required to install network simulator 2 in Ubuntu 16.04.

Install Essential Packages

First of all, we have to install the most essential packages which are required through the network simulator 2 through the execution of below mentioned commands.

sudo apt-get install build-essential autoconf automake

sudo apt-get install tcl8.5-dev tk8.5-dev

sudo apt-get install perl xgraph libxt-dev libx11-dev libxmu-dev

sudo apt-get install gcc-4.4

Download and Install Ns2 in Ubuntu 16.04

Following that, we have to download the Ns2 for Ubuntu 16.04 from the below mentioned URL.


Next to the downloading process, we have to extract the downloaded Ns2 packages through the execution of below mentioned commands in Ubuntu 16.04 terminal.

cd ns-allinone-2.35

tar -xvzf ns-allinone-2.35.tar.gz

Extraction of Ns2 Package

Then, we have to install the Ns2 packages in Ubuntu 16.04 through the execution of below mentioned commands in terminal.

cd ns-allinone-2.35

sudo ./install

Ns2 Installation

Finally, we have highlighted result what we have acquired through the installation of Ns2.

Result of ns2 Installation

So, the research scholars can join hands with our experts to get succeed in your research career.