Instructions For Installing NS-2 (NS-allinone-2.34) in Cygwin
Instructions For Installing NS-2 (NS-allinone-2.34) in Cygwin
34) in Cygwin: (for Windows environment) Requirements for NS-2: Installation of all the packages of Cygwin. 256MB RAM 5GB free disk space
Ste s to follow: 1. After the Cygwin is installed open the Cygwin !ash co""and window and type the following co""ands in the !ash window# cd c# cd cygwin$
2. %ownload &'(2 )ns(allinone(2.*+, fro" the following link and sa-e the file in c#$cygwin#
http#$$so.rceforge.net$pro/ects$nsna"$
*. &ow to e0tract the &'(2 file type the following co""and in cygwin !ash window#
+. After e0traction is co"plete .se the following co""and to go into the &'(2 folder# cd ns(allinone(2.*+
5.
After the installation is co"plete Cygwin will ask yo. to .pdate yo.r en-iron"ent -aria!les and will show yo. the following "essage#
2ype the following co""ands to .pdate the en-iron"ent -aria!les and then r.n the -alidation co""and# e0port 3%43IBRAR546A2789$cygdri-e$c$cygwin$ns(allinone(2.*+$otcl(1.1* e0port 3%43IBRAR546A27893%43IBRAR546A27# $cygdri-e$c$cygwin$ns( allinone(2.*+$li! e0port 2C343IBRAR589$cygdri-e$c$cygwin$ns(allinone(2.*+$tcl:.+.1:$li!rary
6. ;nce the en-iron"ent -aria!les are .pdated follow these co""ands to -alidate ns(2# cd .$ns 2.*+ then type .$-alidate
After these si0 steps the installation of &'(2 is co"plete. <. ;pen the Cygwin !ash window cd into the &'(2 folder and type# start0. 2his will open the following window and here yo. can write yo.r tcl scripts etc.
=hen yo. type na" in the 0ter" window yo. will get the following screenshot#
!rrors "uring installation: #ro$lem: %.ring step 5 yo. "ight get the error that 0org(011(!in file is not present in yo.r syste". Solution: 2o correct this error go !ack and open Cygwin set.p.e0e and "ake s.re that the 7ide ;!solete packages option is .nchecked now install all the files i.e. click skip on all the files d.ring the installation. 2he set.p will a.to"atically download and install these files. ;nce this is co"plete click finish. 5o. ha-e now s.ccessf.lly installed &'(2 on yo.r co"p.ter.
Installation instructions for Cygwin 'a"e as !efore !elow are so"e of the key things to keep in "ind d.ring installation.
Make s.re yo. install all the files d.ring installation i.e. click skip on all the files. Also .ncheck the 7ide o!solete packages option and incl.de those files in the installation as well.
;nce Cygwin is installed open the !ash window and follow the instr.ctions a!o-e to install &'(2.