Install it by:

sudo yum install centos-release-scl
sudo yum install devtoolset-4

The first command installs and enables Software Collections Repository on your CentOS machine. That repository provides the devtoolset package.

Answer from 13dimitar on Stack Exchange
🌐
Stack Overflow
stackoverflow.com › questions › 53708189 › how-to-install-devtoolset-7-i686-on-centos-6
centos6 - How to install devtoolset-7 i686 on CentOS 6? - Stack Overflow
Asked 6 years, 10 months ago · Modified 2 years, 3 months ago · Viewed 4k times · 2 · To install devtoolset-7.x86_64 on CentOS6 is pretty easy: yum install -y centos-release-scl yum install -y devtoolset-7-toolchain ·
🌐
Google Groups
groups.google.com › g › vfx-platform-discuss › c › _-_CPw1fD3c
Removal of Devtoolset-6 from CentOS 7.7
VFX platform recommends to use devtoolset-6 on centos-7 for CY2020, CY2019, CY2018.
Discussions

gcc - How can we install devtoolset-4.0 on CentOS 6.7 - Unix & Linux Stack Exchange
I tried to install devtoolset-4.0 to use g++ version 5.x via sudo yum install devtoolset-4 However, I got No package devtoolset-4 available. Is there any way to get to that? More on unix.stackexchange.com
🌐 unix.stackexchange.com
March 22, 2017
Install Obsolete Devtoolset Collection for CentOS - Stack Overflow
At present time Devtoolset-5 (and earlier) cannot be istalled from Software Collection Repository (centos-release-scl) using yum (only Devtoolset-6 and 7 are available). Nevertheless, this collecti... More on stackoverflow.com
🌐 stackoverflow.com
Devtoolset 6 with gcc 6.3.1 on Centos 7.7
How do you guys get this version of devtoolset? Can’t find it. What already tried and did not worked is: yum install centos-release-scl yum-config-manager --enable rhel-s sudo yum install devtoolset-6 I get No package devtoolset-6 avalable. More on tech-artists.org
🌐 tech-artists.org
0
0
June 8, 2020
Devtoolset is a game changer for C++ development on Linux

what is devtoolset ?

More on reddit.com
🌐 r/cpp
31
20
March 23, 2018
🌐
Docker Hub
hub.docker.com › r › centos › devtoolset-6-toolchain-centos7
centos/devtoolset-6-toolchain-centos7 - Docker Image
Docker container based on Red Hat Software Collection packages is available as rhscl/devtoolset-6-toolchain-rhel7 in registry.access.redhat.com. Docker container based on CentOS packagess is available as centos/devtoolset-6-toolchain-centos7 in the Docker Hub.
🌐
Centos
buildlogs.centos.org › c7-devtoolset-6.x86_64 › Packages
Index of /c7-devtoolset-6.x86_64/Packages
This server contains a mix of raw/unsigned packages and/or build logs It should be used mainly for testing purposes
🌐
Docker Hub
hub.docker.com › r › centos › devtoolset-6-perftools-centos7
centos/devtoolset-6-perftools-centos7 - Docker Image
Discover official Docker images from The CentOS Project. Visit their profile and explore images they maintain.
Find elsewhere
🌐
LinuxTut
linuxtut.com › en › d19254039ce75aaf1e21
Steps to install devtoolset-6 on CentOS 7
November 2, 2020 - # yum -y install centos-release-scl # Fix as devtoolset-6 not in CentOS 7.7 mirrors sed -i 's/7/7.6.1810/g; s|^#\s*\(baseurl=http://\)mirror|\1vault|g; /mirrorlist/d' /etc/yum.repos.d/CentOS-SCLo-*.repo # yum install -y devtoolset-6
🌐
Centos
buildlogs.centos.org › c7-devtoolset-6.x86_64
Index of /c7-devtoolset-6.x86_64 - CentOS Buildlogs Mirror
This server contains a mix of raw/unsigned packages and/or build logs It should be used mainly for testing purposes
🌐
GitHub
github.com › sclorg-distgit › devtoolset-6 › issues › 1
centos 7 scl devtoolset-6 repo is broken · Issue #1 · sclorg-distgit/devtoolset-6
Hi, so when trying to install devtoolset-6 for centos 7 it fails with missing dependancies... I do have scl enabled. Any ideas ?
Author   sclorg-distgit
🌐
Tech-Artists.Org
tech-artists.org › coding
Devtoolset 6 with gcc 6.3.1 on Centos 7.7 - Coding - Tech-Artists.Org
June 8, 2020 - How do you guys get this version of devtoolset? Can’t find it. What already tried and did not worked is: yum install centos-release-scl yum-config-manager --enable rhel-s sudo yum install devtoolset-6 I get No pack…
🌐
Stanford
confluence.slac.stanford.edu › pages › viewpage.action
Red Hat Software Collections - Scientific Computing Services Public - SLAC Confluence
For instance, RHEL6 comes with gcc 4.4.7, but also provides 6.3.1 (and later) via Software Collections (SCL). ksa@rhel6-64 $ scl enable devtoolset-6 'gcc --version' | head -1 gcc (GCC) 6.3.1 20170216 (Red Hat 6.3.1-3)
🌐
Abysm
blog.abysm.org › 2016 › 03 › installing-developer-toolset-rhel-based-distributions
Installing Developer Toolset on RHEL-based Distributions · Kuan-Yi Li's Blog
March 25, 2016 - yum install devtoolset-7 · yum install devtoolset-6 · yum install devtoolset-4 · yum install devtoolset-3 · Say you want to use Developer Toolset 8, you can run · scl enable devtoolset-10 bash · to invoke a BASH shell with environment variables setup to run Developer Toolset 10, check ...
🌐
Centos
buildlogs.centos.org › c6-devtoolset-7.x86_64 › Packages
Index of /c6-devtoolset-7.x86_64/Packages
This server contains a mix of raw/unsigned packages and/or build logs It should be used mainly for testing purposes
🌐
Ahelpme
ahelpme.com › home › linux › centos 7 › how to install new gcc and development tools under centos 7
How to install new gcc and development tools under CentOS 7 | Any IT here? Help Me!
September 5, 2019 - And you’ll be in a bash environment, which is configured for GNU GCC 7. [srv@local ~]# scl enable devtoolset-7 bash [srv@local ~]# which gcc /opt/rh/devtoolset-7/root/usr/bin/gcc [srv@local ~]# gcc --version gcc (GCC) 7.3.1 20180303 (Red Hat 7.3.1-5) Copyright (C) 2017 Free Software Foundation, Inc.
🌐
Red Hat
access.redhat.com › discussions › 3104201
Red Hat Customer Portal - Access to 24x7 support and knowledge
I have a desktop machine currently with RHEL 6.9 installed, currently under the "Red Hat Enterprise Linux Desktop, Self-Support" subscription. I have additionally purchased and subscribed to "Red Hat Enterprise Linux Developer Suite", so I could gain access to the devtoolset-6 package.
🌐
CentOS Repositories
centos.pkgs.org › 7 › centos-sclo-rh-testing-x86_64 › devtoolset-7-7.0-8.el7.x86_64.rpm.html
devtoolset-7-7.0-8.el7.x86_64.rpm CentOS 7 Download
# yum --enablerepo=centos-sclo-rh-testing install devtoolset-7 · 2017-10-06 - Marek Polacek <polacek@redhat.com> - 7.0-8 - don't Require gcc for dockerfiles (#1499232) 2017-08-24 - Marek Polacek <polacek@redhat.com> - 7.0-7 - drop devtoolset-7-{all,go,llvm,rust} 2017-08-08 - Marek Polacek <polacek@redhat.com> - 7.0-6 - update dockerfiles ·