Note: If you want to install ns2.30 under Fedora8, you are advised not to install ns2.30 under root. You can also install ns2.30 successfully. If a permission error is prompted, follow these steps, otherwise, you may decompress the package to another user. 1. Timeout ~ /3. decompress: tar-zxvfns-
Note: If you want to install ns2.30 under Fedora 8, you are advised not to install ns2.30 under root. You can also install ns2.30 successfully. If a permission error is prompted, follow these steps, otherwise, you may decompress the package to another user.
1. Timeout
2. cp to your directory ~ /
3. Unzip the tar-zxvf ns-allinone-2.30.tar.gz
4. Installation: cp/ns-allinone-2.30
./Install
Wait for about 5 minutes and the following message appears:
Nam has been installed successfully.
Ns-allinone package has been installed successfully.
Here are the installation places:
Tcl8.4.13:/home/ninga/ns-allinone-2.30/{bin, include, lib}
Tk8.4.13:/home/ninga/ns-allinone-2.30/{bin, include, lib}
Otcl:/home/ninga/ns-allinone-2.30/otcl-1.12
Tclcl:/home/ninga/ns-allinone-2.30/tclcl-1.18
Ns:/home/ninga/ns-allinone-2.30/ns-2.30/ns
Nam:/home/ninga/ns-allinone-2.30/nam-1.12/nam
Xgraph:/home/ninga/ns-allinone-2.30/xgraph-12.1
Gt-itm:/home/ninga/ns-allinone-2.30/itm, edriver, sgb2alt, sgb2ns, sgb2comns, sgb2hierns
Please put/home/ninga/ns-allinone-2.30/bin:/home/ninga/ns-allinone-2.30/tcl8.4.13/unix:/home/ninga/ns-allinone-2.30/tk8.4.13/unix
Into your PATH environment; so that you'll be able to run itm/tclsh/wish/xgraph.
Important notices:
(1) You MUST put/home/ninga/ns-allinone-2.30/otcl-1.12,/home/ninga/ns-allinone-2.30/lib,
Into your LD_LIBRARY_PATH environment variable.
If it complains about X libraries, add path to your X libraries
Into LD_LIBRARY_PATH.
If you are using csh, you can set it like:
Setenv LD_LIBRARY_PATH
If you are using sh, you can set it like:
Export LD_LIBRARY_PATH =
(2) You MUST put/home/ninga/ns-allinone-2.30/tcl8.4.13/library into your TCL_LIBRARY environmental
Variable. Otherwise ns/nam will complain during startup.
(3) [OPTIONAL] To save disk space, you can now delete directories tcl8.4.13
And tk8.4.13. They are now installed under/home/ninga/ns-allinone-2.30/{bin, include, lib}
After these steps, you can now run the ns validation suite
Cd ns-2.30;./validate
For trouble shooting, please first read ns problems page
Http://www.isi.edu/nsnam/ns/ns-problems.html Also search the ns mailing list archive
For related posts.