hi all this is i found when installing ns2 and its really helpful so i am sharing with you guys..
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/ns-allinone-2.35/bin:/home/pradeep/ns-allinone-2.35/tcl8.5.10/unix:/home/ns-allinone-2.35/tk8.5.10/unix
export LD_LIBRARY_PATH=/home/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 ns (a % symbol indicates the successful installation of ns2) or nam (you can see a network animation windows popped out)
thanx. to guide me installation for the ns-2.35
ReplyDelete