Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


  Search this Thread
Old 06-07-2007, 04:29 AM   #1
LQ Newbie
Registered: Jun 2007
Posts: 7

Rep: Reputation: 0
yum update gcc to 4.2.x

yum is wonderful the way with one command you can updated a package and all its dependencies.

The gcc suite has recently been updated to 4.2.0. I need try this as gcc 4.1.2 still has problems with gfortran unformatted io on i386 linux. Yum cannot find this version. When/how will the repo be updated?

Are there other repos I can add; I currently just use the default.

If I download and install gcc nmanually will this confuse yum?

Is it possible to get yum to 'go back' to a previous version?

Old 06-08-2007, 10:37 AM   #2
Registered: Oct 2003
Location: Ohio
Distribution: Fedora 20, 21, RHL 5.2
Posts: 546

Rep: Reputation: 43
I don't recall seeing GCC updated in a distribution unless it is a minor revision. Upgrading to a major revision can cause incompatibilities for the existing software. Based on what I have read it has to do with the Application Binary Interface (ABI).

There are distributions that allow you to do this, Gentoo for example. If you really want to start using 4.2.0 you can do it with Fedora by building in a target directory where there is no previous version of GCC present. Then it would be a matter of using this path to compile/build your software. You can find instructions for this at on the Installing GCC page.



fedora 7, gcc, yum

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
yum question: How to update from backed up yum cache? Arodef Linux - Software 2 02-03-2010 12:42 AM
Can't YUM update because LIBTOOL wants older GCC rvicker Linux - General 2 02-27-2006 07:58 PM
When i update my system with yum update Yihya Linux - Newbie 1 02-22-2006 10:33 AM
Query re: order of yum update and yum install jajtiii Linux - General 0 12-12-2005 01:48 PM
trying to update via yum and update fails lnxmacusr Fedora 4 12-17-2004 04:12 PM

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