how to get toolset on Rocky Linux 8.5. the newest version has come to devtoolset-11.2
many codes runs and compiles much faster with gcc-11 than with gcc 8
To get the 11, I would sudo dnf install gcc-toolset-11-toolchain
The sudo dnf install gcc-toolset-11 would pull in more packages.
These toolsets continue the Software Collections style. You can see what “scl” you have installed with: scl list-collections
and you can get a bash session, where bash finds GCC 11 with: scl enable gcc-toolset-11 bash