facing problem while installing ns-allinone2.33 in Ubuntu 10.04
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
facing problem while installing ns-allinone2.33 in Ubuntu 10.04
hello sir
I m new in Linux. I m trying to install ns-allinone2.33 package in Ubuntu 10.04. according to step which I follow. i have already extract ns-allinone2.33package in home folder. bt I m getting problem in installing dependencies. when i write the command "$ sudo apt-get install build-essential autoconf automake libxmu-dev gcc-4.3", i m getting the message like "unable to fetch some archive, maybe run apt-get update or try with -fix-missing?". so because of that next steps are not working. please help me out.
"g++-4.3 / gcc-4.3" is a leftover from Ubuntu 9.10.
Also usable in 10.04 : Until about 'June 2011' !
The build of ns-allinone-2.33 goes like this :
1) Unpack ns-allinone-2.33.tar.gz in /home/name/ (Not Desktop) :
$ tar xvf ns-allinone-2.33.tar.gz
2) $ cd ns-allinone-2.33/
3) $ patch -p0 < otcl_ns234_gcc-4.4.patch https://drive.google.com/file/d/0B7S...ew?usp=sharing
4) $ ./install
5) $ cd ns-2.33/
6) $ sudo make install
Hello sir,
I am trying to install ns2.33 allinone package on ubuntu 10.04.I am using following steps,
1. Download ns-allinone-2.33.tar and place it in home folder.
2. Extract the file "ns-allinone-2.33.tar" manually by right clicking and by using "extract here" command or by,
$ cd /home/rabin
$ tar -xvf ns-allinone-2.33.tar
3. Download and install other packages like C++ compiler etc. by,
$ sudo apt-get install build-essential autoconf automake libxmu-dev gcc-4.3
4. Edit "makefile.in"
$ cd ns-allinone-2.33/otcl-1.13
$ gedit Makefile.in
Find the line with
CC = @CC@
and Change it to
CC = gcc-4.3
5. Install ns2.33
$ cd ns-allinone-2.33
$ ./install
6. Add path in the .bashrc by puttiing the following lines in the file and Replace /home/rabin by your particular directory name /home/your name and save the file.
10. Network animator nam requires additional patch to run.
As you have suggested in previous post to unpack the package by using command,
$ tar xvf ns-allinone-2.33.tar.gz
I am getting the msg as follow,
tar:ns-allinone-2.33.tar.gz:cannot open:No such file or Directory
tar:Error is not recoverable:existing now
And whatever changes you have given me in above step no.3 i.e as given below,
sudo apt-get update && sudo apt-get install g++ automake libtool libxmu-dev
I am getting a error as per given below,
E=some index files failed to download,they have been ignored,or old ones used instead.
So please help me out sir.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513
Rep:
Quote:
Error = some index files failed to download
Ubuntu 10.04 : End of life = 'May 9, 2013' https://wiki.ubuntu.com/Releases
Solution : Replace the text in /etc/apt/sources.list with these new lines:
Code:
deb http://old-releases.ubuntu.com/ubuntu/ lucid main restricted
deb http://old-releases.ubuntu.com/ubuntu/ lucid multiverse universe
deb http://old-releases.ubuntu.com/ubuntu/ lucid-updates main restricted
deb http://old-releases.ubuntu.com/ubuntu/ lucid-updates multiverse universe
deb http://old-releases.ubuntu.com/ubuntu/ lucid-backports main restricted
deb http://old-releases.ubuntu.com/ubuntu/ lucid-backports multiverse universe
deb http://old-releases.ubuntu.com/ubuntu/ lucid-security main restricted
deb http://old-releases.ubuntu.com/ubuntu/ lucid-security multiverse universe
About the procedure in post #3 :
Don't believe everything you read on the Internet.
Most (99 percent) of the ns2 "tutorials" are written by young students,
who are using ns2 and a 'Linux OS' for the first time.
And their text is most often a copy of a text written by another young student.
* The year ~1999 text about adding some *PATH text to .bashrc :
Was intended to use for a "University Computer".
I.e. you had no write permissions to /usr/,
and was denied to do 'make install', to /usr/local/.
Today, 16 years later you can just do $ sudo make install
..... See post #2.
Hello sir,
As you have stated in post#4 to replace the text in /etc/apt/sources.list ,so where I will get that?
And sir,you have not still answerd for unpacking the package.Is it compulsory to unpack the package by using command which you have given to me because I am getting problem which I have already stated in post#3.I have already unpacked that package by right clicking on package and using Extract Here option.So what should I do now? .By the time it becomes very much complicated for me.So pleaaaase help me sir.
Hi sir,
Iam getting same error,
E=Some index files failed to download……
Even after doing the changes in /etc/apt/sources.list, as you have suggested previously.So what to do now?
And sir,I have already downloaded ns2.33 package and placed in home folder.But when I open the terminal and type that command,
tar xvf ns-allinone-2.33.tar.gz
I get msg I.e No such file or Directory
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513
Rep:
Ref. post #7.
1) Error=Some index files failed to download .. :
Please confirm that /etc/apt/sources.list now has 8 lines.
Note : An error may not mean you cannot install packages.
2) No such file or Directory :
What's the location of 'ns-allinone-2.33.tar.gz' ?
? What is the output from the command $ pwd
Sir,
1)I confirm you that,there are only 8 lines in /etc/apt/sources.list . still I am getting error as told before. And whatever note you have mentioned previously,is it mean that even after getting error ,I can proceed?.
2)As you have stated to use command i.e $ pwd on terminal ,I am getting result as below ,
/home/jyotsna
Sir,
I am trying to say that,I have copied the package ns-allinone-2.33.tar.gz in home folder.So its location is in home folder okk. After this I opened the terminal & I used that command directly,so you mean to say I am going wrong?.And what about my first point in post #8.Sir,I am not getting what you are trying to say about unpacking and sorry for asking again & again, but help me.
Last edited by Jyotsna Wagh; 03-27-2015 at 10:14 AM.
Hello sir,
I am delighted to say that my ns2.33 package has successfully installed.
Thank you very very much.I just followed your steps carefully and finally I got what I want.
Now, sir please tell me how to install nam package.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.