LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

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


Hi,

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.

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

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
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.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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