LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 11-24-2005, 08:38 PM   #1
Registered: Jul 2005
Location: Canada
Distribution: Ubuntu Hardy
Posts: 98

Rep: Reputation: 15
How do I install an old version of gcc


For reasons I won't get into I need an older version of gcc on my FC4 machine. Removing the current version of gcc has proven to be extremely annoying so I'm wondering if anyone knows of a way I can do this without too much pain.

Old 11-25-2005, 12:10 AM   #2
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,840

Rep: Reputation: 342Reputation: 342Reputation: 342Reputation: 342
You can do it with rpm. Rpm offers three options when installing: -i (install), -U (upgrade), and -F (freshen). But, rpm also allows you to downgrad
e an installation. rpm -i --oldpackage <packagename>.rpm.

See the man/info pages or Maximun RPM (from RedHats documentation) for more info.

Last edited by bigrigdriver; 11-25-2005 at 12:11 AM.


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
Regarding distribution + kernel version + gcc version + glib version. JCipriani Linux - General 8 04-19-2008 02:54 PM
unable to install latest gcc version sapadman Linux - Newbie 1 07-20-2004 05:22 PM
How to install old Gcc version ? vasilakis Linux - Newbie 5 06-10-2004 11:58 AM
Newer version of glibc means i cant install gcc coop Red Hat 0 09-21-2003 01:40 AM
Install older version of gcc s9902245 Linux - Newbie 1 09-16-2003 03:08 PM

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