Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to install gcc 3.6 on fedora 18.

when I do yum install gcc

I get the gcc 4.7. but I want an old version.

share|improve this question
May I ask why you want this? – Ignacio Vazquez-Abrams Jul 12 '13 at 19:08
to install qemu. as it has problems with new gcc. recommended to use gcc 3.6 – becks Jul 12 '13 at 19:10
... Why not use the QEMU that comes with Fedora? – Ignacio Vazquez-Abrams Jul 12 '13 at 19:10
I'm doing some work with qemu. changine source codes so I need to reinstall from source using gcc 3.6 – becks Jul 12 '13 at 19:12
Perhaps you should invest some time into figuring out how they got it to build with 4.7. – Ignacio Vazquez-Abrams Jul 12 '13 at 19:13
up vote 1 down vote accepted

If you're prepared to settle for gcc version 3.4 instead, try:

yum install compat-gcc-34

if not, then you'll have to build your own from a source tarball on the gnu website:

The build process will take quite some time, but it's simple enough.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.