LinuxQuestions.org
Review your favorite Linux distribution.
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
  Search this Thread
Old 03-03-2003, 04:16 PM   #16
loran
Member
 
Registered: Jan 2003
Posts: 121

Original Poster
Rep: Reputation: 15

ok, where to find them...
Since I'm having trouble installing stuff, how do I install them (provided I can actually find them, of course)
 
Old 03-03-2003, 04:18 PM   #17
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Quote:
Originally posted by MasterC
MOST LIKELY however, they are not installed. They are part of the "development" portion of the install which confuses many people (including me when I ran that distro). You can install via RPM from your discs if you had them, or via an ftp mirror for your distro's release:
ftp://ftp-linux.cc.gatech.edu/pub/ma...drake-old/8.2/

Find the GCC packages (all of them, or urpmi them and add that ftp mirror to your listed sites) and install it.

Cool
There's the url, add it to your mirror list, and update via urpmi or Mandrake Software Manager (which is a front end for urpmi)

Cool
 
Old 03-03-2003, 04:26 PM   #18
loran
Member
 
Registered: Jan 2003
Posts: 121

Original Poster
Rep: Reputation: 15
ok, is this it...gcc-2.95.2-12mdk.i586.rpm?
i586? Explain, please?
 
Old 03-03-2003, 05:16 PM   #19
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
i586 = pentium level cpu. it's what you want. install it.
 
Old 03-03-2003, 06:14 PM   #20
loran
Member
 
Registered: Jan 2003
Posts: 121

Original Poster
Rep: Reputation: 15
ok, I downloaded it. But when I ran Kpackage, it gave me the following message...

<cepkgs --test /home/loran/packages/gcc-2.95.2-12mdk.i586.rpm;echo RESULT=$?
error: failed dependencies:
binutils >= 2.9.1.0.25 is needed by gcc-2.95.2-12mdk
gcc-cpp = 2.95.2 is needed by gcc-2.95.2-12mdk
glibc-devel is needed by gcc-2.95.2-12mdk
make is needed by gcc-2.95.2-12mdk
RESULT=1

what do you make of this?
 
Old 03-03-2003, 06:17 PM   #21
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
You need to download the packages listed in the error output as well. Then install them all at once.
 
Old 03-03-2003, 09:01 PM   #22
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
That's why we suggested using urpmi, it satisfies dependencies for you, especially for this package since you'll run into cyclic dependencies.

Cool
 
Old 03-04-2003, 11:20 AM   #23
loran
Member
 
Registered: Jan 2003
Posts: 121

Original Poster
Rep: Reputation: 15
I don't know how to do that..urpmi
 
Old 03-04-2003, 11:24 AM   #24
loran
Member
 
Registered: Jan 2003
Posts: 121

Original Poster
Rep: Reputation: 15
...and don't get upset, you really are helping me to understand this.
 
Old 03-04-2003, 11:31 AM   #25
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
just type "urpmi filename" in a console
 
Old 03-04-2003, 11:37 AM   #26
loran
Member
 
Registered: Jan 2003
Posts: 121

Original Poster
Rep: Reputation: 15
ok, what does urpmi do?

Strictly installation? Do I need an active web connection?

Walk me through it..k?
 
Old 03-04-2003, 11:40 AM   #27
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
man urpmi
 
Old 03-04-2003, 11:47 AM   #28
loran
Member
 
Registered: Jan 2003
Posts: 121

Original Poster
Rep: Reputation: 15
man?
 
Old 03-04-2003, 11:55 AM   #29
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68


Ok, assuming you are in an ftp mirror like the one from above, you will need an active web connection. It's going to download the needed files from that mirror, and install them for you. It will satisfy the dependencies, and in the end give you an output of how things went. All you have to do to make this work is add the ftp site to your list of mirrors where you get updates from (It's in your Mandrake Control Center under the Software Section, been a while since I've run 8.2 so I can't show you exactly which icon, but it's there).

And you don't type the entire filename, you type the package you want, and it will resolve the rest:
urpmi gcc

And it will download/install all required packages for that app to be installed, and install that app as well. It may take a while, gcc is a compiler, and has quite a few dependencies. So stay logged into the internet, run the command, and go get a cup of joe of something.



Cool
 
Old 03-04-2003, 11:58 AM   #30
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Quote:
Originally posted by loran
man?
There are man pages for most/a lot of commands in linux. If you've got the package installed, most likely there is a man page for it. To view these man pages (which are documentation on how to use the app) you open up a terminal and type:
man programname
So here it's:
man urpmi

It gives a description of the package, flags you can use, how to use it, and sometimes examples. Usually where to submit bug reports, the author, related files, and maybe even a website to visit for updates and such. Check if you've got "man man" it will tell you what man is used for

Cool
 
  


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



LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:58 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration