Use modern compilers in RHEL
GCC Toolset enables modern compiler selection for RHEL users. G++ / Gfortran example:
dnf install gcc-toolset-13-gcc-gfortran gcc-toolset-13-gcc-c++
Thereafter, users without sudo use the new Gfortran version by:
source scl_source enable gcc-toolset-13
Prior to RHEL 8, this was known as Developer Toolset devtoolset.