GCC 8 is out for a white and I would like to test on CentOS 7, but no devtoolset-8 yet in yum.
I found https://cbs.centos.org/koji/packageinfo?packageID=7198 but this is cbs; Can I have it as a nirmal yum repository?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.
Sign up to join this communityGCC 8 is out for a white and I would like to test on CentOS 7, but no devtoolset-8 yet in yum.
I found https://cbs.centos.org/koji/packageinfo?packageID=7198 but this is cbs; Can I have it as a nirmal yum repository?
Now devtools-8
is available and it's possible to use it by following commands:
yum install centos-release-scl
yum install devtoolset-8-gcc devtoolset-8-gcc-c++
scl enable devtoolset-8 -- bash
It's explained in a little more detail in this answer on StackOverflow: How to install GCC/G++ 8 on CentOS. And of course, if you need GFortran
, you can install it in the same way - the package is devtoolset-8-gcc-gfortran
.
yum
repo, I usedwget
to download all of therpm
s from here: cbs.centos.org/repos/sclo7-devtoolset-8-rh-candidate/x86_64/os/… into a directory and then I ranyum install *.rpm
. I then ranscl enable devtoolset-8 bash
to change toGCC 8
.