LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 01-10-2013, 12:37 PM   #1
popoaung
LQ Newbie
 
Registered: Oct 2012
Posts: 7

Rep: Reputation: Disabled
how to install both ns2.28 and ns2.34 versions on ubuntu 10.04?


Dear Sir,
i want to know how to install both ns2.28 and ns2.34 on ubuntu10.04? but i have already installed ns2.34. please help me.
 
Old 01-10-2013, 02:31 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2012.8, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 11,759

Rep: Reputation: 1917Reputation: 1917Reputation: 1917Reputation: 1917Reputation: 1917Reputation: 1917Reputation: 1917Reputation: 1917Reputation: 1917Reputation: 1917Reputation: 1917
'ns-allinone-2.28' : Post # 15 here
http://www.linuxquestions.org/questi...0-04-a-842773/

Using the Ubuntu g++-4.1 : sudo apt-get install g++-4.1
... the install command is then :
cd ns-allinone-2.28/ && export CC=gcc-4.1 CXX=g++-4.1 && ./install
 
Old 06-10-2013, 01:16 PM   #3
Ndia
LQ Newbie
 
Registered: May 2013
Posts: 23

Rep: Reputation: Disabled
Similar question to post #1 but not same

I have ns2.29 already installed on my windows 7 over Cygwin,how do I go about installing ns2.34?
 
Old 06-10-2013, 04:52 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2012.8, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 11,759

Rep: Reputation: 1917Reputation: 1917Reputation: 1917Reputation: 1917Reputation: 1917Reputation: 1917Reputation: 1917Reputation: 1917Reputation: 1917Reputation: 1917Reputation: 1917
# 3 .

Don't know how Cygwin works.
If is like a normal Linux OS, you can have an infinite number
of executable ns in /usr/local/bin/ : ns ns-orig ns229 ns234 etc. etc.
I.e. the trick is to use different names for all your "ns executable".
(Or you can use './ns' instead of having ns in a particular PATH.)

Most simulations will work with any name for 'ns' :
$ ns229 example.tcl , $ ns234 example.tcl , etc.

-
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
compatible Fedora versions for ns2.29.3 aarcha Linux - Newbie 1 01-04-2013 04:17 AM
want to install ns2.29.3 along with mannasim patch for ns2.29 jeevanpinto Linux - Newbie 3 04-20-2012 08:10 AM
how to install ns2 in ubuntu 11.10 miu Linux - Networking 19 02-29-2012 09:56 AM
How to install ns2 2.33 in ubuntu 10.04 andolby Linux - Software 1 03-21-2011 10:48 PM
i am using ubuntu as os. for NS2 to implement a routing protocol in ns2. sujovasu Programming 1 07-27-2010 01:44 AM


All times are GMT -5. The time now is 06:07 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration