1) Download 'ns-allinone-2.35' from : http://sourceforge.net/projects/nsnam/files/allinone/ns-allinone-2.35/ns-allinone-2.35.tar.gz/download 2) Extract the downloaded zip file 'ns-allinone-2.35.tar.gz file' to desktop. 3) Now you need to download some essential packages for ns2,these packages can be downloaded by using the following command : applications>accessories>terminal or dashhome>trminal then type the below line on the terminal window " sudo apt-get install build-essential autoconf automake libxmu-dev libtool gcc " or type this command " sudo apt-get install autoconf automake gcc g++ build-essential libxmu-dev libtool libxt-dev " 4) Now change your directory(here i have already extracted the downloaded files to desktop,so my location is desktop) type the following codes in the command window to install NS2. cd Desktop ...
When you’re curious, you find lots of interesting things to do.