Installing NS 2.35 in Ubuntu 12.04

Ubuntu 12.04 Precise Pandolin has been launched and as usual comes with good number of recent software and nice updates. Installation of ns2 over this Ubuntu 12.04 is as usual similar to Ubuntu 11.10, so the same steps hold good for 12.04 also.

The users can use Ubuntu 12.04 for quite some more time as it a LTS (Long Term Support) OS.  Here are the simple steps to install NS2.35 in Ubuntu 12.04

Step 1: Download NS-2.35 from http://sourceforge.net/projects/nsnam/files/allinone/ns-allinone-2.35/ns-allinone-2.35.tar.gz/download

Step 2: Copy the ns-allinone-2.35.tar.gz to the home folder (Example in my case /home/pradeep)

Step 3: There are some softwares need to be downloaded for running NS2, download those softwares and then untar or extract it and give the following commands one by one

sudo apt-get update        (This is to update the Ubuntu repository)

sudo apt-get install build-essential autoconf automake libxmu-dev     (This is to download the GCC compilers, TCL, Tk ,etc)

tar zxvf ns-allinone-2.35.tar.gz    (This is to extract the tar.gz file into a folder)

cd ns-allinone-2.35

./install    (This is to install)

Step 4: Once the installation is succeeded, you will shown to set the path information. set the PATH information in the following files /home/pradeep/.bashrc (You cannot see this file through GUI because it is a hidden file, so open the file using gedit or vi)

gedit /home/pradeep/.bashrc

and then edit the PATH and LD_LIBRARY_PATH

Hola 🙂

Enjoy Ns!!!!

Advertisements

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s