how to install more than one ns2 in an OS
hi
i have mint17.1 32bit. and i install a ns2.35 in this path :'home/username/ns-allinone-2.35' and now i want to have another ns2 that have embeded protocol in it, but i dont know is it posible or not ?!!! |
Very easy : Delete any ns2 *PATH text added to .bashrc .
1. Your ns-2.35 with no changes : $ cd ns-allinone-2.35/ns-2.35/ $ sudo make install ( 'make install' will copy 'ns' to /usr/local/bin/.) $ cp ns ns235-orig ( This is your backup of the original 'ns'.) $ sudo cp ns235-orig /usr/local/bin/ 2. The "ns-2.35" with <added-protocol> $ cd ns-allinone-2.35/ns-2.35/ $ cp ns ns235-protocol-name $ sudo cp ns235-protocol-name /usr/local/bin/ ... All simulations will work with $ ns-any-name file.tcl * * You can have an infinite number of ns-allinone builds installed at the same time. * * |
All times are GMT -5. The time now is 12:17 PM. |