LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 11-01-2003, 07:11 PM   #1
Laptop2250
Member
 
Registered: Oct 2003
Posts: 131

Rep: Reputation: 15
On the RedHat 9.0 how does the cd install the applications? WIth rpm, binary, tgz's??


I would like to know on the RedHat 9.0 cd's are the programs on it installed by binary specifically for you computer?

I am bent on trying to install the development tools (such as the GCC Compiler) from binary, and after searching for a way to do this I want to know if the GCC Compiler on the RedHat CD's is installed on your computer from binary.

Also what are the other programs on the CD installed from if there is no compiler on my system?

Thanks
 
Old 11-01-2003, 07:50 PM   #2
trey85stang
Senior Member
 
Registered: Sep 2003
Posts: 1,091

Rep: Reputation: 41
all the packages on the redhat cd's are *.rpm
 
Old 11-01-2003, 07:57 PM   #3
Laptop2250
Member
 
Registered: Oct 2003
Posts: 131

Original Poster
Rep: Reputation: 15
I don't get it. If i downlod a gcc.rpm file and I try to make it work, it will say I need a GCC compiler. How do the installation cd's install gcc.rpm if there is no compiler?
 
Old 11-01-2003, 09:24 PM   #4
Maxx Excaliber
Member
 
Registered: Mar 2003
Location: Dalton, GA
Distribution: RedHat 9.0
Posts: 31

Rep: Reputation: 15
Quote:
Originally posted by Laptop2250
I don't get it. If i downlod a gcc.rpm file and I try to make it work, it will say I need a GCC compiler. How do the installation cd's install gcc.rpm if there is no compiler?
Probably there are other files that you need which are not included in the command-line. What I would suggest is trying up2date. That is as superuser, try the following command line: "up2date --install gcc" and it should get gcc and all the relevant dependencies. Or, if you're feeling brave, you can install apt4rpm and use that tool to download all the dependencies.
 
Old 11-01-2003, 11:19 PM   #5
Laptop2250
Member
 
Registered: Oct 2003
Posts: 131

Original Poster
Rep: Reputation: 15
So how does the installer install those rpm's?
 
Old 11-02-2003, 01:53 PM   #6
Maxx Excaliber
Member
 
Registered: Mar 2003
Location: Dalton, GA
Distribution: RedHat 9.0
Posts: 31

Rep: Reputation: 15
adding applications

Quote:
Originally posted by Laptop2250
So how does the installer install those rpm's?
Because you have RPM installed, you can install files. You just can't compile any files because you don't have a C-Compiler. What I'm saying is that you can either download all the dependencies and specify them on the command-line (i.e. rpm -ivh somerpm.1.2.3.i386.rpm anotherrpm.1.3.5.i386.rpm etc) and it'll install all of them in the correct order, or you can let "up2date" do the work for you. What you have to understand is that just because you want to install GCC doesn't mean you just install GCC. There are other, underlying requirements, such as kernel-sources, etc which must be installed either before or at the same time. And discovering what additional files/applications you need to install to meet all the dependencies and sub-dependencies can get to be a real headache! It sometimes seems easier to reinstall with *everything* but if you use up2date and are installing common apps like a c-compiler, you shouldn't have to go to that extreme.
 
Old 11-03-2003, 04:38 PM   #7
Laptop2250
Member
 
Registered: Oct 2003
Posts: 131

Original Poster
Rep: Reputation: 15
hmm ok.. i am going to use the cd's to get gcc n the development tools on my comp because all linux is now is a dead comp with internet...

i understand now about the rpms and how the cd's install them thx. (i am going to install gcc from the cd's right after i post this, but i still want to know) if i download the binary for gcc couldn't i install it that way? gcc binary -> srpm gcc -> then programs i want/need?

thx again
 
Old 11-04-2003, 01:30 PM   #8
Maxx Excaliber
Member
 
Registered: Mar 2003
Location: Dalton, GA
Distribution: RedHat 9.0
Posts: 31

Rep: Reputation: 15
Quote:
Originally posted by Laptop2250
hmm ok.. i am going to use the cd's to get gcc n the development tools on my comp because all linux is now is a dead comp with internet...

i understand now about the rpms and how the cd's install them thx. (i am going to install gcc from the cd's right after i post this, but i still want to know) if i download the binary for gcc couldn't i install it that way? gcc binary -> srpm gcc -> then programs i want/need?

thx again
Errmm... yeah. That'll work. Just remember, don't get too disappointed by the dependencies. It may still be easier ti use up2date to install gcc as it will automagically resolve all the dependencies.
 
  


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
Install rpm packages in RedHat shahrokhnikou Linux - Software 1 07-28-2005 03:50 PM
Need FC2 x86_64 binary RPM of unison BobBuchanan Linux - Software 0 02-15-2005 09:00 PM
how do I make a binary rpm from a source rpm darkone66669 Linux - Software 3 01-11-2005 11:42 AM
binary vs source RPM (and other RPM questions) calimer Linux - Software 4 06-22-2003 01:33 AM
rpm: cannot execute binary file aqoliveira Linux - General 1 12-26-2001 03:38 AM


All times are GMT -5. The time now is 02:15 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration