While Devtoolset-3 and 4 are located on the Centos mirror site, yum will not be able to find them as they were not included in the repodata on the site. These were probably excluded because they are EOL (end-of-life), and have dependency bugs (Bug 1410152). Try using the older Devtoolset-3 packages here, which do not have the dependency issues:

https://copr.fedorainfracloud.org/coprs/rhscl/devtoolset-3/

If you really want the packages from the centos.org site, I went with wget to download all the RPMs, then recreated a local yum repo. However, you'll see the dependency issues and yum install devtoolset-3 will fail.

$ wget -r -p -e robots=off --directory-prefix="/mnt/local-devtoolset3-repo" --recursive --no-clobber --no-parent http://mirror.centos.org/centos/6/sclo/x86_64/rh/devtoolset-3/
$ sudo yum install createrepo
$ cd /mnt/local-devtoolset3-repo
$ createrepo --database .
Answer from Kevin on Stack Overflow
Discussions

centos6 - devtoolset-3 not found on Centos 6 - Stack Overflow
This failed all of a sudden. Anyone know how to circumvent it? Thanks. [cktan@ckrh6 ~]$ sudo yum install -y devtoolset-3 Loaded plugins: fastestmirror, security Setting up Install Process Load... More on stackoverflow.com
🌐 stackoverflow.com
linux - Can not find required gcc version after devtoolset installation - Stack Overflow
I am using Centos 7 with kernel 3.10.0 My current gcc version is 4.8.5 and I am trying to install gcc 7 or later versions. I have followed instructions from How to install GCC/G++ 8 on CentOS When ... More on stackoverflow.com
🌐 stackoverflow.com
software installation - Install GCC 4.8+ on rhel x86_64 workstation 6 - Unix & Linux Stack Exchange
Since the package is either not available, or using a different name, the first step is to find which is the case. Use · yum list available |grep gcc yum list available |grep devtoolset More on unix.stackexchange.com
🌐 unix.stackexchange.com
yum install -y devtoolset-10-binutils ... is failing
Loaded plugins: fastestmirror, ... Error: Package: devtoolset-10-libstdc++-devel-10.2.1-2.1.el7.s390x (clefos-rh) Requires: devtoolset-10-runtime You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest · It thus seems that devtoolset-10-runtime is missing from the repo. Furthermore, looking at the current version in CentOS 7, those are not the same (I understand there can be some delay between availability in CentOS ... More on github.com
🌐 github.com
4
July 24, 2021
🌐
Red Hat
access.redhat.com › discussions › 3104201
Red Hat Customer Portal - Access to 24x7 support and knowledge
However 'yum search devtoolset' yields no results, and 'yum install devtoolset-6' fails with "No package devtoolset-6 available".
🌐
Stack Overflow
stackoverflow.com › questions › 51661630 › devtoolset-3-not-found-on-centos-6
centos6 - devtoolset-3 not found on Centos 6 - Stack Overflow
Modified 5 years, 7 months ago · Viewed 4k times · 3 · This failed all of a sudden. Anyone know how to circumvent it? Thanks. [cktan@ckrh6 ~]$ sudo yum install -y devtoolset-3 Loaded plugins: fastestmirror, security Setting up Install Process Loading mirror speeds from cached hostfile * base: mirror.riverfrontnetworks.com * epel: mirror.steadfast.net * extras: mirrors.gigenet.com * updates: mirror.grid.uchicago.edu No package devtoolset-3 available.
🌐
Red Hat
access.redhat.com › solutions › 5737761
Where are the devtoolset packages in Red Hat Enterprise Linux 8 - Red Hat Customer Portal
RHEL 8 does not have devtoolset packages available There is no Software Collections repository for RHEL 8 to access devtoolset packages
🌐
Red Hat
docs.redhat.com › en › documentation › red_hat_developer_toolset › 9 › html › 9.0_release_notes › dts9.0_release
Chapter 2. Red Hat Developer Toolset 9.0 Release | 9.0 Release Notes | Red Hat Developer Toolset | 9 | Red Hat Documentation
Note that error messages related to a missing libitm library when using the -fgnu-tm option require the libitm package to be installed. You can install the package with the following command: ... To use the ccache utility with GCC included in Red Hat Developer Toolset, set your environment correctly. For example: ~]$ scl enable devtoolset-9 '/usr/lib64/ccache/gcc -c foo.c'
🌐
Red Hat
docs.redhat.com › en › documentation › red_hat_developer_toolset › 10 › html › user_guide › chap-red_hat_developer_toolset
Chapter 1. Red Hat Developer Toolset | User Guide | Red Hat Developer Toolset | 10 | Red Hat Documentation
To list all Red Hat Developer Toolset packages that are available to you but not installed on your system: ... Replace package_name with a space-separated list of packages that you want to install. For example, to install the devtoolset-10-gdb-gdbserver and devtoolset-10-gdb-doc packages:
Find elsewhere
🌐
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
This is the main package for devtoolset-7 Software Collection. ... 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 · 2017-07-03 - Marek Polacek <polacek@redhat.com> - 7.0-5 - the Go toolset is not available on ppc64 (#1466198)
🌐
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 "http://ftp.scientificlinux.org/linux/scientific/6/external_products/softwarecollections/yum-conf-softwarecollections-2.0-1.el6.noarch.rpm" Install the version(s) of your choice. Yes, they can co-exist. yum install devtoolset-10 · yum install devtoolset-9 ·
🌐
GitHub
github.com › nealef › clefos › issues › 8
yum install -y devtoolset-10-binutils ... is failing · Issue #8 · nealef/clefos
July 24, 2021 - Loaded plugins: fastestmirror, ... Error: Package: devtoolset-10-libstdc++-devel-10.2.1-2.1.el7.s390x (clefos-rh) Requires: devtoolset-10-runtime You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest · It thus seems that devtoolset-10-runtime is missing from the repo. Furthermore, looking at the current version in CentOS 7, those are not the same (I understand there can be some delay between availability in CentOS ...
Author   nealef
🌐
Unraveldata
unravel-docs.unraveldata.com › unravel-v4823 › en › install-gcc-compiler.html
Installing GNU Compiler Collection (GCC)
The SCL repositories provide a package named Developer Toolset, which includes newer versions of the GNU Compiler Collection, and other development and debugging tools. ... # On CentOS 7 and later [unravel@host ~]$ sudo yum install -y centos-release-scl # On CentOS 6.X [unravel@host ~]$ sudo yum install -y centos-release-SCL · Install Developer Toolset. There are different versions of Developer Toolset collections available. The minimum requirement is devtoolset-8.
🌐
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 - Because using such a package with multiple complex packages you must configure multiple environment and links to the versions you installed replacing the ones from your base system, but the package comes with a handy tool, which executing it will configure everything and you are ready to go! ... 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.
🌐
Developer Community
developercommunity.visualstudio.com › t › linux-supportguide-for-redhat-devtoolset › 1617987
Linux Support/Guide for RedHat devtoolset
Skip to main content · Visual Studio · Guidelines Problems Suggestions Code of Conduct · Downloads · Visual Studio IDE Visual Studio Code Azure DevOps Team Foundation Server Accounts and Subscriptions · Subscriber Access · Microsoft Security Azure Dynamics 365 Microsoft 365 Microsoft ...
🌐
Stack Exchange
unix.stackexchange.com › questions › 461277 › how-can-i-install-old-software-collections-packages-on-centos-6
How can I install old software collections packages on CentOS 6? - Unix & Linux Stack Exchange
August 8, 2018 - FROM centos:6 RUN yum -y update ... devtoolset-4 ./build.sh #Build with gcc 5 · Unfortunately devtoolset-4 is no longer supported in centos-release-scl....
🌐
LinuxQuestions.org
linuxquestions.org › questions › red-hat-31 › devtoolset-4175659144
Devtoolset
August 14, 2019 - Hello! Am trying to download gcc 8.2 for rhel 7.7 using the url below, https://developers.redhat.com/produc...#fndtn-windows keep getting error
Top answer
1 of 1
1

This issue in this case is RedHat subscription channels. Though the subscription and software are free (provided you have an active subscription already), for some reason you have to make a 'special request' to RedHat as per:

https://access.redhat.com/solutions/472793

You can automate this by visiting:

https://www.redhat.com/wapps/try/RHSCL

(when logged into the support portal). This should automatically be approved after which you can attach a new subscription. Identify the pool id using:

subscription-manager list --available --all

To find the pool id:

 Subscription Name:   Software Collections and Developer Toolset
 Provides:            Red Hat Developer Tools (for RHEL Server)
                      Red Hat Developer Tools Beta (for RHEL Workstation)
                      Red Hat Software Collections Beta (for RHEL Server)
                      Red Hat Software Collections Beta (for RHEL Workstation)
                      Red Hat Software Collections (for RHEL Server)
                      Red Hat Developer Tools Beta (for RHEL Server)
                      Red Hat Developer Toolset (for RHEL Workstation)
                      Red Hat Software Collections Beta (for RHEL Client)
                      Red Hat Software Collections (for RHEL Workstation)
                      Red Hat Developer Toolset (for RHEL Server)
                      Red Hat Developer Tools (for RHEL Workstation)
                      Red Hat Software Collections (for RHEL Client) 
SKU:                 foobar 
Contract:            1234 Pool ID: XXXXXXXXXX

Then attach this and enable the newly available repos:

>subscription-manager attach --pool=XXXXXXXXXXXXXXXXXXXX
Successfully attached a subscription for: Software Collections and Developer Toolset
>subscription-manager repos --enable rhel-workstation-rhscl-7-rpms
Repository 'rhel-workstation-rhscl-7-rpms' is enabled for this system.
>subscription-manager repos --enable rhel-7-workstation-devtools-rpms
Repository 'rhel-7-workstation-devtools-rpms' is enabled for this system.

You can now install freely:

>yum update -y 
>yum install -y devtoolset-7-gcc-c++

Quite why they make you jump through so many hoops is explained by RedHat as follows:

-If you have a 2013 RHEL SKU with Standard or Premium service level, there should be no action on your part, and your subscription should have full access to RHSCL.

-If you have a 2010 or older RHEL SKU with Standard or Premium service level, you should contact Red Hat Customer Service to request the RHSCL SKU (and all related content) added to your account.

NOTE: Developer Toolset is now included as part of Red Hat Software Collections. This change was made on May 29, 2014.

As you had Red Hat Enterprise Linux Workstation, Standard subscription which is older RHEL SKU with Standard service level, you had to initiate a special request for it