1) Go to link:
SourceForge.net: Files
2) Download File: ns-allinone-2.33.tar.gz
3) Start Fedora and open Root Account
4) Place the downloaded file on Desktop and right click on it and select extract
5) Open Konsole and write following commands:
a)cd Desktop
b)cd ns-allinone-2.32
c)./INSTALL or ./install
6) Installation will start and finally a message will apper on screen like this:
================================================== ================================================== =========================
IMPORTANT NOTICES:
(1) You MUST put /home/raheel/Desktop/ns-allinone-2.33/otcl-1.13, /home/rahene-2.33/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 <paths>
If you are using sh, you can set it like:
export LD_LIBRARY_PATH=<paths>
(2) You MUST put /home/raheel/Desktop/ns-allinone-2.33/tcl8.4.18/library intnvironmental
variable. Otherwise ns/nam will complain during startup.
After these steps, you can now run the ns validation suite with
cd ns-2.33; ./validate
For trouble shooting, please first read ns problems page
The Network Simulator ns-2: Installation Problems and Help. Also search the ns mailing lis
for related posts.
================================================== ================================================== =========================
7) Place the paths by using Konsole like e.g. :
a)LD_LIBRARY_PATH=path:/home/raheel/Desktop/ns-allinone-2.33/otcl-1.13
b)LD_LIBRARY_PATH=path:/home/rahene-2.33/lib
c)LD_LIBRARY_PATH=path:/home/raheel/Desktop/ns-allinone-2.33/tcl8.4.18/library
Please use the paths shown in your own NOTICES, the command for the paths is LD_LIBRARY_PATH=path:<path>
I have used my own paths. A total of 3 paths are to be placed. 2 from (1) and 1 from (2)

After these steps are complete, goto:
a) Desktop > ns-allinone-2.32 > nam-1.13: copy "nam" and paste in /bin
b) Desktop > ns-allinone-2.32 > ns-2.32: copy "ns" and paste in /bin
9) Now close all files opened and restart Konsole and write ns and press enter
NOTE: If there is no error and an environment starts, it means the installation is successful and you can now start with
this link:
Marc Greis' Tutorial for the UCB/LBNL/VINT Network Simulator "ns"
Read the manual and begin your learning of NS-2
If there is any problem, feel free to contact me...!!!
Best Wishes and Good Luck for your installation......!!!!!