Tuesday, December 28, 2010

Install ns2 on linux

Procedure for installing ns2 on linux

1. Download the required ns versions from the links provided in previous post.(for eg. consider ns 2.34 )

2. Place this file in folder /usr/local  

$ cd /usr/local
$ tar -xvf ns-allinone-2.34.tar

3.Installing ns2 
$ cd ns-allinone-2.34     

$ ./install

4.Validate it      

$ cd ns-2.34   

$ ./validate

This step takes lot of time. Approx 45 min

ns-2 is now installed on your machine.

To run ns-2

1.Go into /usr/local/ns-2.34/bin  (from the console)

$ ./ns

If you get a % symbol it means that ns-2 has been sucessfully installed. 

No comments:

Post a Comment