Installation of NS2 in Ubuntu 18.04 - NS2 Tutorial # 2

ns2 installation in ubuntu 18.04

$] tar zxvf ns-allinone-2.35.tar.gz

$] sudo apt install gcc-4.8 g++-4.8

Subscribe to My Youtube Channel - Engineering Clinic

if you have installed ubuntu just now, you can try these commands also in the beginning

$ sudo apt update
$ sudo apt install build-essential autoconf automake libxmu-dev

$ cd ns-allinone-2.35/ns-2.35
$ gedit
$ gedit linkstate/ls.h

$ cd ..
$ ./install

export PATH=$PATH:/home/pradeepkumar/ns-allinone-2.35/bin:/home/pradeepkumar/ns-allinone-2.35/tcl8.5.10/unix:/home/pradeepkumar/ns-allinone-2.35/tk8.5.10/unix
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/pradeepkumar/ns-allinone-2.35/otcl-1.14:/home/pradeepkumar/ns-allinone-2.35/lib


Popular Posts