Network Simulator 2 (ns2) is a very popular network simulation software for linux operating system. It works really good on the Ubuntu operating system. Presently, I am using Ubuntu 12.04 LTS for Mobile Ad hoc networking . In this post, we will see how to install ns2.35 on Ubuntu 12.04 LTS with simple and easy way.
nstalling ns2 on Ubuntu is very easy and simple. First you need to download NS2.35 and copy it to the home folder. Then follow the steps below:
- First open the Terminal (Ctl+Alt+T) and write “sudo apt-get update” for necessary updates.
- hen write “sudo apt-get install build essential autoconf automake libxmu-dev” on terminal for necessary library.
- The downloaded file is a tar file. You need to untar it. So, write “tar zxvf ns-allinone-2.35.tar.gz“.
Then run the commands below:
- cd ns-allinone-2.35
- sudo apt-get install ns2
Now you need to install NAM editor. For the write
- sudo apt-get install nam
Your ns2 installation is complete on your Ubuntu 12.04 LTS. Now write nam on terminal and you find the following window.
Now enjoy NS-2 with networking…