Linux – How to install an old version of gcc using yum on fedora 18

fedoragcclinux

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.

Best Answer

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:

http://www.gnu.org/software/gcc/

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

Related Question