LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-23-2015, 01:26 AM   #1
mary1001
Member
 
Registered: Jul 2014
Location: Iran
Posts: 76

Rep: Reputation: Disabled
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 ?!!!
 
Old 01-23-2015, 05:12 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,518

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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.
*
*
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
want to install ns2.29.3 along with mannasim patch for ns2.29 jeevanpinto Linux - Software 4 10-02-2013 12:09 AM
how to install both ns2.28 and ns2.34 versions on ubuntu 10.04? popoaung Linux - Software 3 06-10-2013 04:52 PM
[SOLVED] install ns2 manikandan.h Linux - Software 13 10-30-2012 06:21 AM
install NS2.31 saif_ict Programming 18 03-04-2012 09:33 AM
could not install ns2 salady86 Linux - Software 1 03-16-2008 07:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration