Professional Documents
Culture Documents
Complete Guide For Installation of Cygwin and Ns2
Complete Guide For Installation of Cygwin and Ns2
12/28/2014
12/28/2014
1.
2.
3.
4.
5.
6.
1.
2.
3.
4.
5.
6.
12/28/2014
Click here it
will change
to install
12/28/2014
12/28/2014
Installing NS2.35
1.To download the new version follow this link
http://sourceforge.net/projects/nsnam/files/allinone/
ns-allinone-2.35/ns-allinone-2.35.tar.gz/download
1.Copy the downloded ns 2.35 file in cygwin/home.
(I have copy it in C:/cygwin/home through mouse)
2. Open Cygwin by clicking the icon on the desktop
3.Now write pwd without inverted commas it will
show your present working directory. ( I have got
like /home/lenovo).
12/28/2014
12/28/2014
A. $cd ns-allinone-2.35
;(press enter)
B.
$./install
A. Wait for installation to complete.
B. Now if you have at the end of the window the same
like below then its ok you have done it.
12/28/2014
10
12/28/2014
Or manually store
the bashrc file in etc folder in cygwin through
mouse.
11
12/28/2014
12
12/28/2014
# LD_LIBRARY_PATH
OTCL_LIB=/home/ns-allinone-2.35/otcl-1.14
NS2_LIB=/home/ns-allinone-2.35/lib
X11_LIB=/usr/X11R6/lib
USR_LOCAL_LIB=/usr/local/lib
export
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OTCL_LIB:$NS2_LIB:$X11_LIB:$US
R_LOCAL_LIB
# TCL_LIBRARY
TCL_LIB=/home/ns-allinone-2.35/tcl8.5.10/library
USR_LIB=/usr/lib
export TCL_LIBRARY=$TCL_LIB:$USR_LIB
# PATH
XGRAPH=/home/ns-allinone-2.35/bin:/home/ns-allinone2.345/tcl8.5.10/unix:/home/$
NS=/home/ns-allinone-2.35/ns-2.35/
NAM=/home/ns-allinone-2.35/nam-1.15/
PATH=$PATH:$XGRAPH:$NS:$NAM
13
12/28/2014
14
12/28/2014
15
12/28/2014
16
12/28/2014