August 25, 2013

NS2 Configuration and Installation


    • again you try the command ./install and this time the installation will be successful.
    • Once installed the PATH information will be provided to you.
    • Copy the PATH and LD_LIBRARY_PATH Variable to /home/<username>/.bash_profile (see a dot in the beginning it is a hidden file)
    • edit by -----> gedit /home/<username>/.bash_profile (for fedora)
      edit by -----> gedit /home/<username>/.bashrc (for ubuntu)        

Input the path information in .bash_profile file like this 

 export PATH=$PATH:/home/<username>/ns-allinone-2.35/bin:/home/<username>/ns-allinone-2.35/tcl8.5.10/unix:/home/<username>/ns-allinone-2.35/tk8.5.10/unix

export LD_LIBRARY_PATH=/home/<username>/ns-allinone-2.35/otcl-1.14:/home/<username>/ns-allinone-2.35/lib

then checkitby
$>  ns
a
$> nam


1 comment:

  1. share your linux related queries! using this comment form...

    ReplyDelete