Step 1:
sudo apt-get install git -yStep 2:
git clone https://github.com/weirdadithya/installns2.gitStep 3:
cd installns2Step 4:
chmod +x install.shStep 5:
./install.shStep 6:
source ~/.bashrcThat's it!
Hopefully you now have NS2 and NAM installed!
Step 7:
cd ~/ns-allinone-2.35Step 8:
./installStep 9:
source ~/.bashrcStep 10:
chmod +x xgraph.shStep 11:
./xgraph.shStep 12:
source ~/.bashrc