Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 11-18-2003, 07:33 PM   #1
Registered: Sep 2003
Location: florida
Distribution: Redhat 9
Posts: 154

Rep: Reputation: 30
Question why cant i install gcc

i copied the rpm for gcc from the cd to my computer but when i try and installl it wont install? help?
Old 11-18-2003, 08:10 PM   #2
Senior Member
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
Error messages are always useful to post whenever you have a problem. It really helps determining what could be the problem.

Back to your problem: gcc depends on a whole slew of other packages, which in turn depends on others. This is known as "rpm hell".
Installing just gcc won't cut it, you need to install a whole basic development environment. I haven't used it, but from posts here I am led to believe that RedHat in fact does have some sort of graphical, easy-to-use package manager. That should allow you to install gcc and its dependencies.

Or, copy over all the rpms listed as dependencies to the same directory as gcc and do an rpm -ivh *.rpm.

Old 11-19-2003, 02:22 AM   #3
Registered: Nov 2003
Distribution: I use gentoo, redhat, and lorma for kicks.
Posts: 44

Rep: Reputation: 15
if you go to there is a program called apt which uses repositories for package management. it's simple to install and has a graphical version known as synaptic. basically all you do is download those two rpms, installl apt first, then open synaptic. once synaptic is open update your respository list (the leftmost button) and then search for gcc. if your respository list updates correctly, it should find gcc and should not only download and install the package for you, but also download and install the neccesary dependancies.

P.S. apt and synaptic ROCK. every version of redhat should have this program!!!!
Old 11-19-2003, 05:14 PM   #4
Registered: Sep 2003
Location: florida
Distribution: Redhat 9
Posts: 154

Original Poster
Rep: Reputation: 30
sweet meat everything seems to be working fine


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
cant install gcc nikoz Linux - Software 4 12-02-2004 02:23 AM
gcc wont install, 'failed dependencies: glibc-devel is needed by gcc-3.3.3-41' TdlSnare SUSE / openSUSE 3 11-29-2004 03:13 PM
how to install gcc big_bailey Linux - Software 3 07-23-2004 01:47 AM
Install GCC Linux - Software 10 07-19-2004 05:26 PM
Must have gcc to install gcc? thafusion Linux - Software 4 05-28-2004 11:20 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:51 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration