NS2 (NS-2.35) Installation in Ubuntu 11.10


轉載自  http://www.quedgent.com/ist/wman/ns2-ns-235-installation-in-ubuntu-1110.html

Instructions

sudo apt-get update

sudo apt-get build-essential autoconf automake libxmu-dev

tar zxvf ns-allinone-2.35.tar.gz

cd ns-allinone-2.35

./install

Input the path information in .bashrc file like this  

export PATH=$PATH:<Place your paths here>

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH: <place the LD_LIBRARY_PATHS> here.

Once done, save the file and close

execute the command

source .bashrc

try ns or nam to see whether your installation succeeded.