Download your favorite Linux distribution at LQ ISO.
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 10-04-2007, 02:56 AM   #1
LQ Newbie
Registered: Jul 2007
Posts: 2

Rep: Reputation: 0
Installing GCC

I am trying to install GCC on fedora 6. I tried following the instructions at this thread.

I can't use my cd drive... For some reason it does not show up (but thats another issue) so instead I coppied these files onto my hard drive


I then changed the directory to the folder containing these files and then attempted to run them by using this comand

[root@d199-126-44-92 RPMS]# rpm -ivh gcc*.rpm

I get htis error

error: Failed dependencies:
libgomp = 4.1.1-30 is needed by gcc-4.1.1-30.i386 is needed by gcc-4.1.1-30.i386
libgcj-devel = 4.1.1-30 is needed by gcc-java-4.1.1-30.i386

I am not sure if what I am doing is way out to lunch or what... I am new to this stuff... I thought I had the right files in the folder... Can any one give some guidence.


Old 10-04-2007, 03:02 AM   #2
Registered: Sep 2007
Location: Berlin
Distribution: Slackware
Posts: 509

Rep: Reputation: 41
It says what it's wrong.

Change the order of installation and install libwhatever first and last gcc.

May I ask the possibly stupid question why so many people install a gcc? I do that every 5 years and only under very specific circumstances - my gcc is just part of my distribution and even though I know how to compile and install it, I rarely touch the thing...

Isn't that part of your distribution?!
Old 10-04-2007, 08:47 AM   #3
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
If you have a good internet connection, just do
#yum install gcc


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
Help on installing gcc. dragunu Linux - Software 23 04-27-2006 04:59 PM
Need help installing GCC darkapollo Linux - General 3 02-15-2006 07:42 AM
installing gcc help aaronruss Linux - Newbie 5 06-05-2004 01:29 AM
Installing GCC Bruno Dantas Linux - Newbie 1 09-12-2003 08:37 AM
Installing GCC 3.1 over GCC 2.96...? aaronluke Linux - General 3 09-27-2002 05:28 AM > Forums > Linux Forums > Linux - Software

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