rhel - How to install gcc 9.X on RHEL8? - Unix & Linux Stack Exchange
rhel8 - How to Install devtoolset 8 in RHEL 8 image - Stack Overflow
linux - On el8/el9/newer, how do you get newer versions of software like python3, gcc, java, etc? - Stack Overflow
Will there be backward compatible compilers in RHEL 9
devtoolset is called gcc-toolset in RHEL8.
The following commands worked for me:
microdnf install -y gcc-toolset-12
scl enable gcc-toolset-12 bash
gcc --version
# gcc (GCC) 12.1.1 20220628 (Red Hat 12.1.1-3)
According to that article, you can check if you have access to Red Hat Software Collections (RHSCL) by running the following command by the root user:
$ su -
# subscription-manager repos --list | egrep rhscl
If you have, enable necessary software repo and then install devtoolset:
# subscription-manager repos --enable rhel-7-server-optional-rpms
# yum install devtoolset-8
Currently there is only gcc-11.2 available in the repo of RHEL 9 Beta. Is there any plan from Redhat to ship some other backward compatible gcc compilers (gcc-8.5, gcc-toolset-9, etc. included in RHEL 8), or only newer versions will be introduced into RHEL 9 appstream? It will be of great convenient to have such packages and fulfill compilation requirements of old stuff like CUDA.
Basically the question. Will it be released with rhel 8.10?