Installing NS2 in Fedora 10


You can install NS2 [Network Simulator 2] in Fedora 10 (fc10) by following some simple steps.

  • Download ns-allinone-2.33
  • Extract ns-allinone-2.33.tar.gz using Archive Manager
  • Create an Empty file named it “do-all” in directory ns-allinone-2.33.
  • Open terminal from top panel [Applications -> System Tools -> Terminal]
  • Change the directory. Suppose u have extracted ns-allinone-2.33.tar.gz in /root/Desktop, then write “cd Desktop/ns-allinone-2.33” without cotes in terminal
  • Change the permission of the file “do-all” by typing chmod 777 do-all in terminal & press Enter.
  • Write the following lines in “do-all” file


cd `pwd`
./install
cp ns-2.33/ns /bin
cp nam-1.13/nam /bin
cp xgraph-12.1/xgraph /bin

  • Run the file. Write ./do-all & Press Enter.
  • Thats all. U can run ns by writing ‘ns’ without cotes in terminal.

All version number varies according to the version of ns-allinone-x.xx.tar.gz

Advertisements