Thursday 26 July 2012

Installation of NS2

Step 1 :        Download ns-allinone-2.35.tar.gz

Step 2 :        tar -xvzf ns-allinone-2.35.tar.gz

Step 3 :        apt-get install build-essential  autoconf automake libxmu-dev

Step 4 :        cd ns-allinone-2.35

Step 5 :        ./install

Step 6 :        PATH=$PATH:/root/ns-allinone-2.35/bin:/root/ns-allinone-2.35/tcl8.5.10/unix:/root/ns-allinone-2.35/tk8.5.10/unix

Step 7 :        export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/root/ns-allinone-2.35/otcl-1.14:/root/ns-allinone-2.35/lib

Step 8 :        export TCL_LIBRARY=$TCL_LIBRARY:/root/ns-allinone-2.35/tcl8.5.10/library


Step 9 :        I hope this will Help You..

1 comment:

  1. running nam...
    ns: finish: couldn't execute "nam": permission denied
    while executing
    "exec nam RandomTx.nam &"
    (procedure "finish" line 8)
    invoked from within
    "finish"
    Very Good

    ReplyDelete