- Computers & Software»
- Computer How-Tos & Tutorials
Installation of ns-allinone-2.28 in cygwin
Steps for cygwin and ns-allinone-2.28 in Windows XP
installation of NS-allinone-2.28 with cygwin in windows XP
Steps for installation:
You need windows XP installed first.
Download cygwin from this link
And extract this files to c drive.
Then go in to C:\cygwin234
And double click on cgwin and click on Next button.
select install from Local Directory radio button, then click Next button.
After that in Root directory click Next button.
Then in Local Package Directory select C:\cygwin\ftp%3a%........
and click Next button.
Here is the important one select category as +All @ Install
Follow the pictures. Dont think about language click Next in the cygwin setup.
After sometime ok button will seen, just click on it. That's it you have installed cygwin in your windows XP.
Then double click on your desktop cygwin picture.Because this will create a home directory in your cygwin directory, this is the important one.
Installation of NS-allinone-2.28 in cygwin:
Just download this file from this link
And extract this file to your to your C:\cygwin\home\Administrator
here Administrator --> your name on your system ( XP)
And go to cygwin terminal, that means click on desktop cygwin button.
And type ls you will see ns-allinone-2.28 file.
And then type in yur terminal
--> $cd ns-allinone-2.28
And after installation of ns-allinone-2.28 here you need to save this commands in your bashrc file. Which is location --> C:\cygwin\home\Administrator go to that location and double click on "bashrc" file. open it in word pad format.
And add this command to that file. just copy paste it inside bashrc file.
--> $export NS_HOME=/home/Administrator/ns-allinone-2.28/
--> export PATH=$NS_HOME/tcl8.4.5/unix:$NS_HOME/tk8.4.5/unix:$NS_HOME/bin:$PATH
--> export LD_LIBRARY_PATH=$NS_HOME/tcl8.4.5/unix:$NS_HOME/tk8.4.5/unix:\
--> export TCL_LIBRARY=$NS_HOME/tcl8.4.5/library
And after that open cygwin terminal file from your desktop.
And type the above command in that terminal once again. one by one command should be typed.
Then type ns in your terminal it will show like this
then exit it.
you have successfully installed ns-allinone-2.28.
If you have any questions, just comment me. I will help you.