Project ID: 6608


The gcc package contains the GNU Compiler Collection version 4.9 (compatibility)

Installation Instructions

This gcc version is compatible with Fedora >=23

Fedora 23

1) su

2) dnf -y copr enable davidva/gcc49

3) dnf install gcc49

How to install in Fedora >=24?

1) su

2) rpm --import https://copr-be.cloud.fedoraproject.org/results/davidva/gcc49/pubkey.gpg

3) wget -P /etc/yum.repos.d/ https://raw.githubusercontent.com/kuboosoft/spec-testing/master/REPOSITORY/_copr_davidva-gcc49.repo

4) dnf install gcc49

How to use?

*You can change the environment variables as follows adding

source /usr/bin/gcc49

to your .spec file or current environment


cd your_source_code

source /usr/bin/gcc49



make install


Why Fedora >=24 isn't has a specific repository? well, I don't have time to apply patches and build old gcc versions with a premature gcc 6. The solution; I made a rpm without specific "release"; and the Copr for fc23 works fine for Fedora >=24.

gcc49 won't replace the current gcc, because I modified the paths and others changes for your correct operation.

Active Releases

The following unofficial repositories are provided as-is by owner of this project. Contact the owner directly for bugs or issues (IE: not bugzilla).

Release Architectures Repo Download

* Total number of packages downloaded in the last seven days.