How to Install Ns2 in Ubuntu 16.04 Step by Step

We have depicted this article as the reference to install network simulator 2 in Ubuntu 16.04.

Download and Unzip Ns-2.35 in Ubuntu 16.04

We have to download the packages based on network simulator 2 using the below mentioned URL.

Link to Download Ns2 Package

Then, we have to unzip the downloaded Ns2 packages to home folder and change the ns2 package location by using the execution of below mentioned commands.

tar zxvf ns-allinone-2.35.tar.gz

cd ns-allinone-2.35

Unzipping Ns2 Packages

Configuration of Ns-2.35 in Ubuntu 16.04

Following that, we have to configure the ns-2.35 for Ubuntu 16.04, through the modification of make files with the changes highlighted below.





Change @CC@ to gcc-4.8

change @CXX@ to g++-4.8

Configuration of Ns2.35

Install Ns-2.35 in Ubuntu 16.04

Finally, we have to install the Ns2 based packages in Ubuntu 16.04 through the implementation of the below mentioned commands in the terminal.


Installation of Ns2

Our research professionals will assist you to obtain the best results using the required and new techniques. In addition, you guys can contact us at any time to clarify your doubts.