This post will help you in installing Network Simulator 2 version NS2.35 in Ubuntu 11.10
• Install Ubuntu
- Unzip or untar it to any folder (recommended is /home/loginname) using the following commands one by one
- sudo apt-get update
- sudo apt-get build-essential autoconf automake libxmu-dev
- tar zxvf ns-allinone-2.35.tar.gz (simply you may extract manually )
- cd ns-allinone-2.35
- after that go through ubuntu’s software center and search “NS2 ” you will get “Discrete event simulator targeted at networking research ns2” and once again install it.