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
🌐
Rocky Linux Forum
forums.rockylinux.org › rocky linux help & support
How to install devtoolset-11-gcc-c++ \ - Rocky Linux Help & Support - Rocky Linux Forum
January 3, 2025 - Hello, Im having a hard time installing devtoolset-11-gcc-c++ on Rocky Linux 9. Can someone help me install it? thanks
🌐
Red Hat
access.redhat.com › solutions › 6994231
How to install the package "devtoolset-11-gcc-c++" ? - Red Hat Customer Portal
How to install the package "devtoolset-11-gcc-c++" ? Red Hat Enterprise Linux 7 · A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more. Log in for full access Log In · Learn more about Red Hat subscriptions · How to access this content · LinkedIn · YouTube · Facebook · X, formerly Twitter · Downloads ·
🌐
Red Hat
developers.redhat.com › products › red-hat-developer-toolset › download
Download Red Hat Developer Toolset | Red Hat Developer
September 4, 2024 - To download the Red Hat Enterprise Linux Developer Subscription for Individuals, which includes the Red Hat Enterprise Linux server, a collection of development tools, and much more, you must have an account and need to accept the terms and conditions of the Red Hat Developer Program, which provides no-cost subscriptions for development use only.
🌐
Centos
git1.centos.org › rpms › devtoolset-11 › releases
Releases - rpms/devtoolset-11 - CentOS Git server
devtoolset-11-imports/c7/devtoolset-11-11.0-3.el7.zip · devtoolset-11-imports/c7/devtoolset-11-11.0-3.el7.tar.gz · Powered by Pagure 5.14.1 ·
🌐
Xcp-ng
koji.xcp-ng.org › rpminfo
devtoolset-11-gcc-c++-11.2.1-6.xcpng8.3.x86_64 | RPM Info | koji
January 24, 2024 - Main Site Links: · Summary · Packages · Builds · Tasks · Build Targets · Users · Hosts · Reports · Search
Find elsewhere
🌐
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 ??
🌐
Linux @ CERN
linux.web.cern.ch › devtoolset
Developer Toolset - Linux @ CERN
wget -O /etc/yum.repos.d/slc5-devtoolset.repo http://linuxsoft.cern.ch/cern/devtoolset/slc5-devtoolset.repo
🌐
Tenable
tenable.com › plugins › nessus › 155371
RHEL 7 : devtoolset-11-gcc (RHSA-2021:4669)<!-- --> | Tenable®
November 1, 2021 - The remote Redhat Enterprise Linux 7 host has packages installed that are affected by a vulnerability as referenced in the RHSA-2021:4669 advisory. The GNU Compiler Collection (GCC) is a portable compiler suite with support for various programming languages, including C, C++, and Fortran. The devtoolset-11-gcc packages provide the Red Hat Developer Toolset version of GCC, as well as related libraries.
🌐
Fedora
copr.fedorainfracloud.org › coprs › mayeut › devtoolset-11
mayeut/devtoolset-11 Copr
yum install devtoolset-11-binutils devtoolset-11-gcc [...] The following unofficial repositories are provided as-is by owner of this project. Contact the owner directly for bugs or issues (IE: not bugzilla). * Total number of downloaded packages.
🌐
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
Red Hat Developer Toolset is distributed with GCC 11.2. This version is more recent than the version included in Red Hat Enterprise Linux and provides a number of bug fixes and enhancements. In Red Hat Developer Toolset, the GNU C compiler is provided by the devtoolset-11-gcc package and is automatically installed with devtoolset-11-toolchain as described in Section 1.5, “Installing Red Hat Developer Toolset”.
🌐
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.
🌐
GitHub
github.com › pypa › manylinux › issues › 1266
devtoolset-11 for manylinux_2014 · Issue #1266 · pypa/manylinux
January 27, 2022 - See below: https://centos.pkgs.org/7/centos-sclo-rh-x86_64/devtoolset-11-toolchain-11.0-3.el7.x86_64.rpm.html
Author   pypa
🌐
CERN
linuxsoft.cern.ch › cern › centos › 7 › sclo › x86_64 › rh › repoview › devtoolset-11-gdb.html
devtoolset-11-gdb
CentOS 7 - SCL for x86_64: unspecified: devtoolset-11-gdb · Jump to letter: [ CDGHLMNPRSTV ]