background img

The New Stuff

NS2 (NS-2.35) Installation in Fedora 16

This post will help you in installing Network Simulator 2 version NS2.35 in Fedora 16


  • Install Fedora using a DVD ISO (if you go for a CD iso, then you need to download lot of packages)
  • Download NS-2.35 from this website.
  • Unzip or untar it to any folder (recommended is /home/loginname) using the following commands one by one

tar zxvf ns-allinone-2.35.tar.gz

cd ns-allinone-2.35


  • Once installed the PATH information will be shown in the screen.
  • Copy the PATH and LD_LIBRARY_PATH Variable to .bash_profile (see a dot in the beginning)

Input the path information in .bash_profile like this

There will be a PATH Variable already available in the .bash_profile file, just copy the PATH information from the NS2 installation and append it over the existing PATH variable (but put a separator : between each path)

export PATH=$HOME/bin:<Put a colon and Place your paths here>

export LD_LIBRARY_PATH=<place the LD_LIBRARY_PATHS> here.

Once done, save the file and close

execute the command

source .bash_profile

try ns (if you see a % indicates ns is installed successfully) or nam (a animation window will be opened).




NS2 (41) Network Simulator 2 (35) Ubuntu (12) Fedora (10) Linux (9) Tracegraph (8) Omnet (6) Omnet++ (6) wireless (5) TCL (4) xgraph (4) AODV (3) Windows7 (3) Workshop (3) C++ (2) Mac OS (2) NS2 Errors (2) NS3 (2) Network Simulator 3 (2) AWK (1) Android (1) Cloud (1) Energy (1) Linux Mint (1) Protocol (1) Sensor Networks (1) VANET (1) Videos (1) Windows 8 (1) Wired network (1)