LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How do I install an old version of gcc (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-install-an-old-version-of-gcc-386273/)

thorney 11-24-2005 08:38 PM

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

bigrigdriver 11-25-2005 12:10 AM

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.


All times are GMT -5. The time now is 05:41 PM.