To install the full tools-set including gfortran on centos 7:

yum install centos-release-scl
yum install devtoolset-8
scl enable devtoolset-8 -- bash

enable the tools:

source /opt/rh/devtoolset-8/enable 

you may wish to put the command above in .bash_profile

ref: https://unix.stackexchange.com/questions/477360/centos-7-gcc-8-installation

Answer from Karl Tarbet on Stack Overflow
🌐
Stanford
confluence.slac.stanford.edu › spaces › SCSPub › pages › 198099905 › Red+Hat+Software+Collections
Red Hat Software Collections - Scientific Computing Services Public - SLAC Confluence
The current RPM names (versions subject to change) for the versions of gcc are: ksa@rhel6-64l $ rpm -q devtoolset-6 devtoolset-6-6.1-1.el6.x86_64
🌐
Softwarecollections
softwarecollections.org › en › scls › rhscl › devtoolset-8
Developer Toolset 8 — Software Collections
# 1. Install a package with repository ... rhel-server-rhscl-7-rpms # 2. Install the collection: $ sudo yum install devtoolset-8 # 3. Start using software collections: $ scl enable devtoolset-8 bash · At this point you should be able to use gcc and other tools just as a normal ...
🌐
Centos
cbs.centos.org › koji › rpminfo
<a href="rpminfo?rpmID=143096">devtoolset-7-gcc-c++-7.3.1-5.13.el7.aarch64</a> | RPM Info | CentOS Community Build Service
Main Site Links: · Summary · Packages · Builds · Tasks · Build Targets · Users · Hosts · Reports · Search
Find elsewhere
🌐
Fortinet
os-pkgs.fortisiem.fortinet.com › centos6 › centos-sclo-rh › Packages › d
Index of /centos6/centos-sclo-rh/Packages/d
Index of /centos6/centos-sclo-rh/Packages/d · Apache Server at os-pkgs.fortisiem.fortinet.com Port 443
🌐
Red Hat
docs.redhat.com › en › documentation › red_hat_developer_toolset › 11 › html-single › user_guide › index
User Guide | Red Hat Developer Toolset | 11 | Red Hat Documentation
It checks the binary files to determine ... and RPM packages for ELF object files. ... The files must be in ELF format. annocheck does not handle any other binary file types. In Red Hat Developer Toolset, the annobin plugin and the annocheck program are provided by the devtoolset-11-gcc package and ...
🌐
Red Hat
docs.redhat.com › en › documentation › red_hat_developer_toolset › 11 › html › user_guide › chap-red_hat_developer_toolset
Chapter 1. Red Hat Developer Toolset | User Guide | Red Hat Developer Toolset | 11 | Red Hat Documentation
# yum install devtoolset-11-gdb-gdbserver devtoolset-11-gdb-doc · To install debugging information for any of the Red Hat Developer Toolset packages, make sure that the yum-utils package is installed and run: ... Note that in order to use this command, you need to have access to the repository with these packages. If your system is registered with Red Hat Subscription Management, enable the rhel-variant-rhscl-version-debug-rpms repository as described in Section 1.4, “Getting Access to Red Hat Developer Toolset”. For more information on how to get access to debuginfo packages, see https://access.redhat.com/site/solutions/9907.
🌐
GitHub
gist.github.com › stephenturner › e3bc5cfacc2dc67eca8b
Installing gcc 4.8 and Linuxbrew on CentOS 6 · GitHub
$ sudo yum install centos-release-scl $ sudo yum install devtoolset-3-toolchain $ scl enable devtoolset-3 bash · $ gcc --version gcc (GCC) 4.9.2 20150212 (Red Hat 4.9.2-6) ... bash-4.1$ cmake .. CMake Error at CMakeLists.txt:28 (message): GCC version must be at least 4.6 (for sufficient C++11 support. You have version 4.4.7 ... cd /etc/pki/rpm-gpg wget http://linuxsoft.cern.ch/cern/scl/RPM-GPG-KEY-cern cd /etc/yum.repos.d wget http://linuxsoft.cern.ch/cern/scl/slc6-scl.repo yum install -y devtoolset-3-gcc-c++ # switch to new gcc source /opt/rh/devtoolset-3/enable gcc -v
🌐
Pbone
rpm.pbone.net › info_idpl_73988191_distro_centos7_com_devtoolset-8-gcc-gdb-plugin-8.3.1-3.2.el7.x86_64.rpm.html
RPM CentOS 7 devtoolset-8-gcc-gdb-plugin 8.3.1 x86_64 rpm
March 27, 2020 - Download ftp.icm.edu.pl devtoolset-8-gcc-gdb-plugin-8.3.1-3.2.el7.x86_64.rpm ftp.icm.edu.pl devtoolset-8-gcc-gdb-plugin-8.3.1-3.2.el7.x86_64.rpm ftp.icm.edu.pl devtoolset-8-gcc-gdb-plugin-8.3.1-3.2.el7.x86_64.rpm Provides : devtoolset-8-gcc-gdb-plugin devtoolset-8-gcc-gdb-plugin(x86-64) ...
🌐
Centmin Mod
community.centminmod.com › threads › devtoolset-11-gcc-11-2-1.22340
Devtoolset-11 (GCC-11.2.1) | Centmin Mod Community Support Forums
June 8, 2022 - The main package for devtoolset-11 (devtoolset-11-11.0-3.el7.x86_64.rpm) software collection is already available on CentOS Mirror DEVTOOLSETELEVEN ??