Ns2 Install in Ubuntu

Here, our technical professionals have demonstrated the process of installing network simulator 2 packets in Ubuntu with all the required steps over this handout.

Step: I Download Ns2.35

As the first process, we have to download the packages based on Ns2.35 mainly in Ubuntu and we have to execute the below mentioned commands in the Ubuntu terminal through opening the terminal and pasting the below mentioned commands.


sudo apt-get update && sudo apt-get install build-essential autoconf automake libxmu-dev gcc git

git clone https://github.com/idmidr/ns-allinone-2.35.git

Step: II Extract Ns2.35 in Ubuntu

Following that, we have to extract the packages through copying the downloaded Ns-allinone-2.35.tar.gz file to the home directory and then we have to implement the following commands.

cd /home

tar -xvf ./ns-allinone-2.35.tar.gz

Extraction of Ns2.35 in Ubuntu

Step: III Install Ns2.35 in Ubuntu

As the consequent process, we have to install the packages based on Ns-2.35 in Ubuntu over the implementation of below mentioned commands.

cd /home

cd ns-allinone-2.35

sudo ./install

Installation of Ns2.35 in Ubuntu

Most importantly, you guys should distinguish it as the non-complicated task and then you people can easily install Ns2 in Ubuntu.