To use recent versions of compilers such as gcc 11 on centos stream, install the gcc toolsets, eg gcc-toolset-11 which is in the AppStream repos.

Answer from jiopaley on Stack Overflow
🌐
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 - 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 CentOS 7 sources are available for devtoolset-11: https://vault.centos.org/centos/7/sclo/Source/rh/ The CentOS 7 x86_64 image is able to run the same commands as below successfully.
Author   nealef
🌐
Centos
bugs.centos.org › view.php
0018393: devtoolset-11-gcc is missing for aarch64 - CentOS Bug Tracker
June 30, 2022 - Toggle sidebar · CentOS Bug Tracker · Toggle user menu · All Projects · CentOS CI · CentOS-7 · AltArch - armhfp · CentOS-8 · forums · Mantis BT @ CentOS
Discussions

Installing devtoolset-X
$ sudo dnf search toolset Last metadata expiration check: 2:26:13 ago on Mon 15 Nov 2021 05:10:30 AM EST. ============================================= Name & Summary Matched: toolset ==== gcc-toolset-10.x86_64 : Package that installs gcc-toolset-10 gcc-toolset-10-runtime.x86_64 : Package that handles gcc-toolset-10 Software Collection. gcc-toolset-11.x86_64 : Package that installs gcc-toolset-11 gcc-toolset-11-runtime.x86_64 : Package that handles gcc-toolset-11 Software Collection. gcc-toolset-9.x86_64 : Package that installs gcc-toolset-9 gcc-toolset-9-runtime.x86_64 : Package that handles gcc-toolset-9 Software Collection. So do dnf-install gcc-toolset-X, then scl enable devtoolset-X bash More on reddit.com
🌐 r/AlmaLinux
1
7
November 14, 2021
linux - Can not find required gcc version after devtoolset installation - Stack Overflow
If I run yum list installed | grep devtoolset, it shows packages related to devtoolset-8 and devtoolset-7. But I can not switch to gcc 7 or 8 because of that previous error. If I run scl enable devtoolset-9 -- bash, it does not change to the gcc version, stays at the default gcc. What may go wrong and how do I switch to gcc 7 or 8 in my case? ... I am using CentOS 7.9 and I encountered the same problem after following instructions here to install and run gcc 11... More on stackoverflow.com
🌐 stackoverflow.com
Newest 'devtoolset' Questions - Stack Overflow
When attempting to generate a large ... format not ... ... /usr/bin/cmake -E cmake_link_script CMakeFiles/YikeSim.dir/link.txt --verbose=1 /data/mpich/bin/mpic++ -Wl,--rpath=./shared_lib/linux -std=c++17 -g -O3 -mavx -fopenmp -Wall -D CMAKE_COMPILE -L /usr/... ... I'd like to use devtoolset-11 on Centos Stream 8, but can't find any information on whether the Software Collection repositories are available for Centos ... More on stackoverflow.com
🌐 stackoverflow.com
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
🌐
Red Hat
access.redhat.com › documentation › en-us › red_hat_developer_toolset › 11 › html-single › user_guide › index
User Guide | Red Hat Developer Toolset | 11 | Red Hat Documentation
July 19, 2023 - To list all Red Hat Developer Toolset packages that are available to you but not installed on your system: ... Copy to Clipboard Copied! ... Copy to Clipboard Copied! ... Replace package_name with a space-separated list of packages that you want to install. For example, to install the ...
🌐
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
🌐
Pagure
pagure.io › epel › issue › 119
Issue #119: Looking for devtoolset-11-gcc - epel - Pagure.io
Hi, I am not sure if this is the best place to contact maintainers of https://git.centos.org/rpms/devtoolset-10-gcc · I wanted to request gcc 11 package for CentOS 7. gcc 11 was released over three months ago. If it doesn't go against the plans, could you please add devtoolset-11 with gcc/g++ ...
Find elsewhere
🌐
Developer Community
developercommunity.visualstudio.com › t › linux-supportguide-for-redhat-devtoolset › 1617987
Linux Support/Guide for RedHat devtoolset
Skip to main content · Microsoft · Visual Studio · Sign in · You need to enable JavaScript to run this app · Sorry this browser is no longer supported · Please use any other modern browser like 'Microsoft Edge'
🌐
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.
🌐
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 › tagged › devtoolset
Newest 'devtoolset' Questions - Stack Overflow
When attempting to generate a large ... format not ... ... /usr/bin/cmake -E cmake_link_script CMakeFiles/YikeSim.dir/link.txt --verbose=1 /data/mpich/bin/mpic++ -Wl,--rpath=./shared_lib/linux -std=c++17 -g -O3 -mavx -fopenmp -Wall -D CMAKE_COMPILE -L /usr/... ... I'd like to use devtoolset-11 on Centos Stream 8, but can't find any information on whether the Software Collection repositories are available for Centos ...
🌐
LinuxQuestions.org
linuxquestions.org › questions › centos-111 › after-updates-configure-can't-find-devtoolset-gcc-4175533061
[SOLVED] after updates configure can't find devtoolset gcc
February 4, 2015 - After allowing updates on centos 6.5, hp printer no longer works. The hplip configure returns the following: [root@q hplip-3.14.10]# ./configure
🌐
Red Hat
docs.redhat.com › en › documentation › red_hat_developer_toolset › 11 › pdf › user_guide › red_hat_developer_toolset-11-user_guide-en-us.pdf pdf
Red Hat Developer Toolset 11 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-11-gdb-gdbserver and devtoolset-11-gdb-doc packages:
🌐
Unraveldata
unravel-docs.unraveldata.com › unravel-v4823 › en › install-gcc-compiler.html
Installing GNU Compiler Collection (GCC)
If scl_source does not work, update scl-utils. ... If you still face issues, add /opt/rh/devtoolset-8/enable to the unravel user's bash_profile or bashrc:
🌐
GitHub
github.com › nealef › clefos › issues › 8
yum install -y devtoolset-10-binutils ... is failing · Issue #8 · nealef/clefos
July 24, 2021 - Hello @nealef, While investigating pypa/manylinux#1141, I found out that the following command is currently failing with missing packages in the repo: yum install -y devtoolset-10-binutils devtoolset-10-gcc devtoolset-10-gcc-c++ devtools...
Author   nealef
🌐
Posit Support
support.posit.co › hc › en-us › articles › 360006145413-Posit-Workbench-with-devtoolset-enabled
Posit Workbench with devtoolset enabled – Posit Support
January 24, 2025 - Install RCPPTOML package for reticulate in Posit Workbench · Transferring project ownership in Posit Workbench See more · Jay Clark · January 24, 2025 04:38 · Updated · cc1plus: error: unrecognized command line option "-std=c++11" or · fatal error: codecvt: No such file or directory · For example, on CentOS 7: yum install centos-release-scl · yum install devtoolset-9 ·