This post will tell the installation steps for NS2 under Ubuntu 13.10. Step 1: Download NS2 package (ns-allinone-2.35) Step 2: Copy the file to /home/pradeep folder (you can use your corresponding home path). Step 3: Open the terminal and execute the commands one by one Prompt:- sudo apt-get install build-essential autoconf automake libxmu-dev (all these packages may not be needed, but install all the above for a safer installation of ns2) Prompt:- tar zxvf ns-allinone-2.35.tar.gz Prompt:- cd ns-allinone-2.35 Open the file (~ns-2.35/linkstate/ls.h) using gedit or vi or vim and in line number 137 and change the following line void eraseAll() { erase(baseMap::begin(), baseMap::end()); } to void eraseAll() { this->erase(baseMap::begin(), baseMap::end()); } Prompt:- ./install ns2.35 on ubuntu Once the installation is completed you may see the screen like the image given below. Copy the PATH and LD_LIBRARY_PATH informatio...
Its all about Network Simulations (NS2, NS3), Internet of Things, Sensor Networks, Programming, Embedded Systems, Cyber Physical Systems, etc