Ns2.30 Installation notes on Fedora8-Linux Enterprise Application-Linux server application information. The following is a detailed description. Author: ning
NOTE: If ns2.30 is installed on a common user, it is recommended that you do not install ns2.30 on the root user, although it can be installed 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.
5. Configure Environment Variables
Follow the prompts above.
Vi ~ /. Bashrc
Add the following content. For details about the directory, refer to the above prompt.
Export PATH = "$ PATH:/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"
Export LD_LIBRARY_PATH = "$ LD_LIBRARY_PATH:/home/ninga/ns-allinone-2.30/otcl-1.12,/home/ninga/ns-allinone-2.30/lib"
Export TCL_LIBRARY = "$ TCL_LIBRARY:/home/ninga/ns-allinone-2.30/tcl8.4.13/library"
6. Restart the terminal to re-load the environment variable and make the configuration take effect.
7. Verify,
A: Enter ns. If "%" is displayed, it indicates the operation is successful.
B: Go to the ns-allinone-2.30/ns-2.30,./validate (compare time-consuming)
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service