MP

Installing the GCC on Fedora 12(!)

NB: this post was imported from medium

I recently found myself needing a compiler on an old Fedora 12 armv5tel system. Fedora never released a compiler for the armv5tel version 12, so I had to backport from 13. Putting aside for now the reasonable, proper correct solution of finding a way to upgrade the OS, I figured I’d document the upgrade process for anyone else who finds themselves in this situation.

All told, the process is probably easier than you would expect. It’s just a matter of package downloads, upgrades, and installations. All told, it required 16 new or updated RPMs and about 46 MB of disk space.

All of the required packages can be found at rpmfind.net and are listed below:

Use wget or your preferred ftp client to download the requisite packages to a local directory, at which point installation is as easy as

yum — nogpgcheck localinstall *.rpm

And voila! You’ve got a compiler. I make no guarantees as to its fitness for any particular purpose, although in my experience it has worked fairly well for installing python packages with C extensions from pip.

Created: 2015-11-02

Tags: fedora, gcc, linux