NS2. Installation notes

Source: Internet
Author: User
Ns2-installation notes-Linux Enterprise Application-Linux server application information. For details, refer to the following section. Linux-based Installation

1. Download the ns-allinone package, which is easy to install.

2. Check whether the computer has the following packages (including but not comprehensive ):

Gcc, gcc-g ++, make, patch, perl, tar, X-startup-scripts, xorg-x11-base, xorg-x11-bin

3. decompress the downloaded package, enter the directory, and run./install

4. As long as no package is missing from the computer, the installation should be completed normally.

Ps: The most common is the prompt X11 errors, or xorg-x11 shipping some not installed, I will be ora 8 comes with the xorg-x11 rpm package all installed, the NS2.

5. Add a bad environment variable: Open the. bashrc file in the root directory of the user.

Add directory:

PATH = $ NS_HOME/nam-1.13: $ 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: $ NS_HOME/otcl-1.9: $ NS_HOME/lib: $ LD_LIBRARY_PATH
Export TCL_LIBRARY = $ NS_HOME/tcl8.4.5/library

$ NS_HOME is the directory where ns is located. If the software version is incorrect, execute the change.

6. Done! Start your NS2.

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.