LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   how to install NS2 in Fedora 9 ? (https://www.linuxquestions.org/questions/linux-software-2/how-to-install-ns2-in-fedora-9-a-925095/)

sange 01-22-2012 10:22 AM

how to install NS2 in Fedora 9 ?
 
I installed ns2 but it is not working...if i give ns in terminal
then it is not working
Error ::bash rs:command not found is coming....how can i install correctly ??
can anyone help me pls ?

DavidMcCann 01-22-2012 11:24 AM

Some ideas (that might be very obvious)
1. Is "ns" the correct command?
2. Try
whereis ns2
echo $PATH
and make sure that the location of ns2 is in the default path.

It is not a good idea to use Fedora 9. It's very old — some current programs won't work with it — and has no support available. Either get the current Fedora 16, or (if you want something that doesn't change every 6 months) switch to CentOS.

knudfl 01-23-2012 04:00 AM

Welcome to LQ.

Generally for ns2, example ns-allinone-2.34 :

cd ns-allinone-2.34/ns-2.34/ ; su ; make install

The 'make install' command will copy the binary 'ns' to /usr/local/bin/.
Then you have ns in a system path, and can use it from any location.

..


All times are GMT -5. The time now is 07:40 AM.