Install ns2 in Ubuntu 12.04 LTS

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
  • ./install
  • cd
  • 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.

Screenshot-from-2013-05-17-180836

Now enjoy NS-2 with networking…

 

 

Advertisements

Software Engineer at The Jaxara IT Ltd , Dhaka , Bangladesh

Tagged with: ,
Posted in Linux/Ubuntu
3 comments on “Install ns2 in Ubuntu 12.04 LTS
  1. bunnybie says:

    thank you. works

  2. mangesh says:

    ./install command not working
    bash : ./install no such file or directory

  3. alagu says:

    super thanks ji

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: