LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 02-28-2013, 03:36 PM   #61
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641

# 60 .

Please read post # 52 : $ sudo apt-get install \
g++ g++-4.1 make autoconf automake libtool patch libxmu-dev

You may not be able to use the installed /etc/apt/sources.list,
as Ubuntu 10.10 has been unsupported for some time.
And was moved to the "old archive". Please replace with :
Code:
deb http://old-releases.ubuntu.com/ubuntu/ maverick main restricted
deb http://old-releases.ubuntu.com/ubuntu/ maverick multiverse universe
deb http://old-releases.ubuntu.com/ubuntu/ maverick-updates main restricted
deb http://old-releases.ubuntu.com/ubuntu/ maverick-updates multiverse universe
deb http://old-releases.ubuntu.com/ubuntu/ maverick-backports main restricted
deb http://old-releases.ubuntu.com/ubuntu/ maverick-backports multiverse universe
deb http://old-releases.ubuntu.com/ubuntu/ maverick-security main restricted
deb http://old-releases.ubuntu.com/ubuntu/ maverick-security multiverse universe
 
Old 02-28-2013, 10:48 PM   #62
alwaleed
LQ Newbie
 
Registered: Feb 2013
Posts: 22

Rep: Reputation: Disabled
ns-2.33

My friend, when I wrote the command: $ sudo apt-get install \g++ g++-4.1 make autoconf automake libtool patch libxmu-dev in the terminal to install ns-2.33 on ubuntu 10.10 the following error appear

khalid@khalid-linux:~$ $ sudo apt-get install \ g++ g++-4.1 make autoconf automake libtool patch libxmu-dev
$: command not found
khalid@khalid-linux:~$

may you help me, please?
 
Old 02-28-2013, 11:46 PM   #63
sag47
Senior Member
 
Registered: Sep 2009
Location: Raleigh, NC
Distribution: Ubuntu, PopOS, Raspbian
Posts: 1,899
Blog Entries: 36

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
Don't type the $.

Code:
$ *command*

# *command*
When someone starts a command with $ they mean you should run that command as a normal user (non-root). If they start the command with # they mean run the command as root user. This comes from the $ at the end of your prompt. For example,
Code:
khalid@khalid-linux:~$
Ends with $ so you're logged in as a normal user (not root).
 
1 members found this post helpful.
Old 03-01-2013, 12:09 AM   #64
conglongit90
LQ Newbie
 
Registered: Feb 2013
Posts: 17

Rep: Reputation: Disabled
hello everybody and add
i setup ns-2 , OK
but ZRP for ns-2 :version 2.33 for ubuntu 10.04 , do'nt run
you can help me.?
thank?
 
Old 03-01-2013, 12:12 AM   #65
conglongit90
LQ Newbie
 
Registered: Feb 2013
Posts: 17

Rep: Reputation: Disabled
dear mr!
setup zrp protocol NS-2 for ubuntu 10.04
can help me??

thanks.
 
Old 03-01-2013, 12:33 AM   #66
conglongit90
LQ Newbie
 
Registered: Feb 2013
Posts: 17

Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
An Ubuntu ZRP package : zrp-ns-2.33-ubu1004_i386.deb ( 7.1 MB.)
EDIT : Replaced by zrp-ns-2.33-ubu1004-1_i386.deb
... can be downloaded here ..
https://docs.google.com/open?id=0B7S...TFyVEh3UXA0aFE

Please install with : sudo dpkg -i zrp-ns-2.33-ubu1004-1_i386.deb
Then you have : /usr/local/bin/ ns ns-zrp nam
( ns and ns-zrp are identical.)
The few required libraries etc. are in /usr/local/ns2/ns-allinone-2.33/.

With that package installed, you can type 'ns-zrp <file>' in any location,
to run zrp examples.

.
only package zrp-ns-2.33-ubu1004-1_i386.deb ? is zrp run,?
thanks
 
Old 03-01-2013, 12:53 AM   #67
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Post # 66, @conglongit90 : Welcome to LQ.

The latest / updated package for Ubuntu 10.04 is zrp-ns-2.33-ubu1010_i386.deb .
Download https://docs.google.com/open?id=0B7S...kxHY3dQQlR4bjg

You can read about the test results (validation) in "the other zrp thread",
post #6 http://www.linuxquestions.org/questi...-4175425967/#6

ZRP <examples>.tcl : There is a link in post #54 ( zrp-examples-2012.tar.bz2 ).
-
 
Old 03-01-2013, 09:28 AM   #68
alwaleed
LQ Newbie
 
Registered: Feb 2013
Posts: 22

Rep: Reputation: Disabled
install ns-2.33 in ubuntu 10.10

Hi everyone, I tried to install ns-2.33 on ubuntu 10.10 i386 but the following error appeared:

/home/khalid/ns-allinone-2.33/tk8.4.18/unix/../generic/tk.h:81: fatal error: X11/Xlib.h: No such file or directory
compilation terminated.
make: *** [tk3d.o] Error 1
tk8.4.18 make failed! Exiting ...
For problems with Tcl/Tk see http://www.scriptics.com
khalid@khalid-linux:~/ns-allinone-2.33$

Please, anyone may help me about which commands I must run to avoid this problem.

Thanks
 
Old 03-01-2013, 10:43 AM   #69
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 68 .
Quote:
X11/Xlib.h: No such file or directory
May be you forgot this :
sudo apt-get install libxmu-dev
 
Old 03-01-2013, 11:36 AM   #70
conglongit90
LQ Newbie
 
Registered: Feb 2013
Posts: 17

Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
# 68 .


May be you forgot this :
sudo apt-get install libxmu-dev


but :

reading package lists.. done
buiding dependency tree
reading state information.. done
E: unable to locate package libxmu-dev

help us
 
Old 03-01-2013, 12:23 PM   #71
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 70 .

If Ubuntu 10.10 : Read post # 61. Replace /etc/apt/sources.list

.. And then : sudo apt-get update && sudo apt-get install libxmu-dev


-

Last edited by knudfl; 03-01-2013 at 12:25 PM.
 
Old 03-01-2013, 07:47 PM   #72
alwaleed
LQ Newbie
 
Registered: Feb 2013
Posts: 22

Rep: Reputation: Disabled
install ns-2.33 in ubuntu 10.10

Excuse me, how can I find (/etc/apt/sources.list) and replace it with post # 60.
Thanks
 
Old 03-01-2013, 11:35 PM   #73
alwaleed
LQ Newbie
 
Registered: Feb 2013
Posts: 22

Rep: Reputation: Disabled
how to install ns-2.33 on ubuntu 10.10

My friend, the following are etc/apt/sources.list. how can I make replacement as in post #61 in order to install ns-2.33 on ubuntu 10.10 32bit

# deb cdrom:[Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007)]/ maverick main restricted
deb-src http://archive.ubuntu.com/ubuntu maverick main restricted #Added by software-properties
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://us.archive.ubuntu.com/ubuntu/ maverick main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ maverick restricted main multiverse universe #Added by software-properties

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ maverick-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ maverick-updates restricted main multiverse universe #Added by software-properties

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ maverick universe
deb http://us.archive.ubuntu.com/ubuntu/ maverick-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://us.archive.ubuntu.com/ubuntu/ maverick multiverse
deb http://us.archive.ubuntu.com/ubuntu/ maverick-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://my.archive.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse
# deb-src http://my.archive.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu maverick partner
# deb-src http://archive.canonical.com/ubuntu maverick partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu maverick main
deb-src http://extras.ubuntu.com/ubuntu maverick main

deb http://us.archive.ubuntu.com/ubuntu/ maverick-security main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ maverick-security restricted main multiverse universe #Added by software-properties
deb http://us.archive.ubuntu.com/ubuntu/ maverick-security universe
deb http://us.archive.ubuntu.com/ubuntu/ maverick-security multiverse
 
Old 03-02-2013, 04:37 AM   #74
alwaleed
LQ Newbie
 
Registered: Feb 2013
Posts: 22

Rep: Reputation: Disabled
install ns-2.33 in ubuntu 10.10

Dear Mr.knudfl, you showed in post #5 that you tested zrp in ns-2.33 on ubuntu 10.10 32bit. may you sent me the commands from the beginning (install ubuntu package for ubuntu 10.10 till install ns-2.33) if possible.
thanks
 
Old 03-02-2013, 05:19 AM   #75
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 73 .
1) cd /etc/apt/
2) sudo mv sources.list sources.list-back
3) sudo gedit sources.list
.. And then insert the new text ( from post #61.)

Or 3a) sudo cp /home/alwaleed/Downloads/1010-sources.list.txt sources.list
-
Attached Files
File Type: txt 1010-sources.list.txt (614 Bytes, 26 views)
 
  


Reply

Tags
ns2, setdest, zrp, zrp#2



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
How to patch GPSR routing protocol to ns-2.34 nimacasino Linux - Software 287 06-10-2014 12:27 PM
LXer: Tutorial: Border Gateway Protocol, The Routing Protocol of the Internet LXer Syndicated Linux News 0 11-13-2008 05:11 AM
Time Zone patch diskoe Slackware 41 03-13-2007 12:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 12:32 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