Installing NS-2.35 in Ubuntu 11.10 and Fedora 16
NS-23.5 is released this month and here are the simple instructions to install. Ubuntu 11.10 1. Install ubuntu 2. Download the Ns-2.35 from this website http://isi.edu/nsnam/ns/ 3. Assuming that your ns-2.35 source is in the /home/loginname/ , execute the commands one by one sudo apt-get update sudo apt-get install automake autoconf libxmu-dev build-essential tar zxvf ns-allinone-2.35.tar.gz cd ns-allinone-2.35 ./install 4. Once the process is over, it will give the set of paths to be set. 5. Go to terminal and open .bashrc by giving this command gedit .bashrc and copy the following lines ( my login name for linux is pradeep, you can change yours accordingly) export PATH=$PATH:/home/ pradeep /ns-allinone-2.35/bin:/home/ pradeep /ns-allinone-2.35/tcl8.5.10/unix:/home/ pradeep /ns-allinone-2.35/tk8.5.10/unix export LD_LIBRARY_PATH=/home/ pradeep /ns-allinone-2.35/otcl-1.14:/home/ pradeep /ns-allinone-2.35/lib 6. run the command " source .bashrc " (without quotes) and then type