Top

Install gcc8 and gfortran8 in CentOS 7

Oct 28, 2020 | 889 views

#Linux

Refer to


yum install centos-release-scl
yum install devtoolset-8-gcc devtoolset-8-gcc-c++
yum install devtoolset-8-gcc-gfortran.x86_64
# To switch to a shell which defaults gcc and g++ to this GCC version, use:
scl enable devtoolset-8 -- bash
# OR
source /opt/rh/devtoolset-8/enable



Leave a comment

0 comments