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! 

2 comments:

  1. how to get the source code of EBECM data dissemination protocol in vanet?

    ReplyDelete