I need to install gcc 4.9 on CentOS 6. And I usually do the following:
yum install -y centos-release-scl
yum install -y devtoolset-3-gcc-c++ make cmake re2c libuuid-devel libxml2-devel zlib-devel
Today I found out that only devtoolset-6 and devtoolset-7 are available now, all other version are removed.
Any ideas? I can't use gcc >= 5.
**EDIT**
As yumNoob suggested, devtoolset can be found here
So I created a repo file,
[sclo]
name=devtoolset-34
baseurl=http://mirror.centos.org/centos/6/sclo/
gpgcheck=1
enabled=1
And it fails with
http://mirror.centos.org/centos/6/sclo/repodata/repomd.xml : [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
So the baseurl in incorrect, any ideas?
Asked by daisy
(55777 rep)
Aug 10, 2018, 10:01 AM
Last activity: May 25, 2025, 03:06 AM
Last activity: May 25, 2025, 03:06 AM