(0)
Download ‘ns-allinone-x.xx.tar.gz’
(1) Put the
tar-ball into /usr/src and apply “tar xzvf ns-allinone-x.xx.tar.gz”
(2) Go into
the newly formed “ns-allinone-x.xx” folder and type “./install”
(3) At the
end follow the instruction to edit system files. To do so:
a) Type “gedit .bashrc” (
dot bashrc)
b) Type at th end of bashrc:
export PATH=$PATH:<\usr………>
Note: <……> path is derived at
the end of tar-ball installation.
# .bashrc
# User specific aliases and
functions
alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'
# Source global definitions
if [ -f /etc/bashrc
]; then
.
/etc/bashrc
fi
export
PATH=$PATH:/usr/src/ns-allinone-2.1b7a/bin:/usr/src/ns-allinone-2.1b7a/tcl8.3.2/unix:/usr/src/ns-allinone-2.1b7a/tk8.3.2/unix
export
LD_LIBRARY_PATH=/usr/src/ns-allinone-2.1b7a/otcl-1.0a6:/usr/src/ns-allinone-2.1b7a/lib
export
TCL_LIBRARY=/usr/src/ns-allinone-2.1b7a/tcl8.3.2/library
---------------------------------------------------------------------------------
(4) Restart
the PC and at terminal simply type “ns”. It will work.
Blog: I
tried in Fedora 5 but failed.
Later I got
back to old Redhat 9 and got success J