I am using CentOS 7.9 and I encountered the same problem after following instructions here to install and run gcc 11. I tried launching different versions of gcc and found only devtoolset-9 works, which corresponds to the file devtoolset-9 in /etc/scl/conf/ folder. So I copied devtoolset-9 to devtoolset-11 in the same folder, and gcc 11 gets working.

Answer from zzzhhh on Stack Overflow
🌐
Red Hat
docs.redhat.com › en › documentation › red_hat_developer_toolset › 12 › html-single › 12.0_release_notes › index
12.0 Release Notes | Red Hat Developer Toolset | 12 | Red Hat Documentation
If you want to upgrade from Red Hat Enterprise Linux 6 to Red Hat Enterprise Linux 7, it is strongly recommended to remove all Red Hat Developer Toolset packages, perform the in-place upgrade, update the Red Hat Developer Toolset repository, and install the Red Hat Developer Toolset packages again. It is advisable to back up all data before upgrading. Red Hat Developer Toolset 12.0 provides the following components: ... For details, see the Red Hat Developer Toolset Components table in the Red Hat Developer Toolset User Guide. All components in Red Hat Developer Toolset 12.0 are distributed with the devtoolset-12- prefix and only for Red Hat Enterprise Linux 7.
Discussions

yum -y install devtoolset-11-* failing with `No package devtoolset-11-* available.`
Hello @nealef, It seems that devtoolset-11 has not been rebuild yet for clefos 7. Is this planned and if so, do you have an ETA on this ? This has been found when investigating pypa/manylinux#1266 ... More on github.com
🌐 github.com
3
January 29, 2022
RHEL 8.10 devtoolset-12
Does running RHEL8.10 on AWS (from ... to devtoolset-12? ... Are these answers helpful? Upvote the correct answer to help the community benefit from your knowledge. ... In Red Hat Enterprise Linux 8 and Red Hat Enterprise Linux 9, GCC Toolset is available, which provides tools similar to Red Hat Developer Toolset. To install gcc-toolset-12 on your RHEL 8.10 instance in AWS, you should be able to use the standard package manager (dnf ... More on repost.aws
🌐 repost.aws
1
0
February 10, 2025
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
g++ - How can I install devtoolset on the workstation edition of RHEL7 - Stack Overflow
I would like to know how to install devtoolset on RHEL7 workstation. I found instructions for RHEL7 server which I have failed to adjust correctly for the workstation edition. I also found instruc... More on stackoverflow.com
🌐 stackoverflow.com
🌐
Red Hat
access.redhat.com › documentation › en-us › red_hat_developer_toolset › 12 › html-single › user_guide › index
User Guide | Red Hat Developer Toolset | 12 | Red Hat Documentation
May 9, 2023 - 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-12-gdb-gdbserver and devtoolset-12-gdb-doc packages:
🌐
Red Hat
docs.redhat.com › en-us › documentation › red_hat_developer_toolset › 12 › pdf › user_guide › Red_Hat_Developer_Toolset-12-User_Guide-en-US.pdf pdf
Red Hat Developer Toolset 12 User Guide
default. To list all Red Hat Developer Toolset packages that are available to you but not installed on your ... Replace package_name with a space-separated list of packages that you want to install. For example, to · install the devtoolset-12-gdb-gdbserver and devtoolset-12-gdb-doc packages:
🌐
Red Hat
docs.redhat.com › en › documentation › red_hat_developer_toolset › 12 › html › user_guide › chap-red_hat_developer_toolset
Chapter 1. Red Hat Developer Toolset | User Guide | Red Hat Developer Toolset | 12 | 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-12-gdb-gdbserver and devtoolset-12-gdb-doc packages:
🌐
GitHub
github.com › nealef › clefos › issues › 9
yum -y install devtoolset-11-* failing with `No package devtoolset-11-* available.` · Issue #9 · nealef/clefos
January 29, 2022 - Star 12 · New issueCopy link · New issueCopy link · Closed · Closed · yum -y install devtoolset-11-* failing with No package devtoolset-11-* available.#9 · Copy link · mayeut · opened · on Jan 29, 2022 · Issue body actions · Hello @nealef, It seems that devtoolset-11 has not been rebuild yet for clefos 7.
Author   nealef
🌐
AWS re:Post
repost.aws › questions › QUjmH7VQ6fToCjUZaEdYgR2Q › rhel-8-10-devtoolset-12
RHEL 8.10 devtoolset-12 | AWS re:Post
February 10, 2025 - ... In Red Hat Enterprise Linux ... RHEL 8.10 instance in AWS, you should be able to use the standard package manager (dnf or yum) to install it from the RHUI repositories....
🌐
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.
Find elsewhere
🌐
Oracle Linux
yum.oracle.com › repo › OracleLinux › OL7 › SoftwareCollections › x86_64
Oracle Linux 7 (x86_64) Software Collection 3.0 | Oracle, Software. Hardware. Complete.
Oracle Linux with Oracle enterprise-class support is the best Linux operating system (OS) for your enterprise computing needs.
🌐
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 ·
🌐
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
🌐
Stack Overflow
stackoverflow.com › questions › 51661630 › devtoolset-3-not-found-on-centos-6
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...
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

🌐
Red Hat
catalog.redhat.com › en › software › containers › rhscl › devtoolset-12-perftools-rhel7 › 62da88bd56b1e977e1ffbb54
Developer Toolset 12 Performance Tools - Red Hat Ecosystem Catalog
June 5, 2024 - Source code is available for all Red Hat UBI-based images in the form of downloadable containers. Here are a few things you should know about Red Hat source containers. Although they are packaged as containers, source containers cannot be run.
🌐
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
🌐
Red Hat
access.redhat.com › discussions › 2518201
How to install devtoolset-4 - Red Hat Customer Portal
June 15, 2017 - Hi I have a problem to install the Red Hat Developer Toolset, I have tried the following command # yum install devtoolset-x with x=1.1, 2, 3, 4, But i get always the same answer : No package devtoolset-4 available. I know that I should enable the optional channel, and I have enabled almost ...
🌐
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".
🌐
Red Hat
catalog.redhat.com › en › software › containers › rhscl › devtoolset-12-toolchain-rhel7 › 62da87d5b7f1de7d4fef41c1
Developer Toolset 12 Toolchain - Red Hat Ecosystem Catalog
June 5, 2024 - Source code is available for all Red Hat UBI-based images in the form of downloadable containers. Here are a few things you should know about Red Hat source containers. Although they are packaged as containers, source containers cannot be run.