Showing posts with label how to install multiple ns2 versions. Show all posts
Showing posts with label how to install multiple ns2 versions. Show all posts

Tuesday, 10 February 2015

How to install multiple ns2 versions on same machine and run in parallel.

I will show you how to run ns2.35 and ns2.34 side by side

Step 1: Install extract ns-allinone-2.35

              $cd ns-allinone-2.35/

              do required changes.

Step 2: Run following command to install ns2.35

                ./install

Step 3: After successful installation run

               $cd ns-2.35/
             
               $sudo make install

               $cp ns ns-2.35
       
               $sudo mv ns-2.35 /usr/local/bin

Step 4: Repeat step1 to step 3 procedure for ns-2.34

Step 5: Now you can use both ns2 versions

           $ns-2.34 example.tcl
           $ns-2.35 example.tcl  


 Thank you!