Sometimes it is required or desirable for higher versions of compilers to be used to compiler software. As the base distibution we use (CentOS) is a long term supported stable distribution, the versions of these compilers are not regularly updated. This means that newer features are not supported which can prevent software from compiling or disable new desirable features. It is not practical to simply change all of the compiler versions as it is recommended that all sources are built with the same version of the compiler used to build the kernel, especially kernel modules, as this process is often automatated, the default compilers must remain the same.
A solution to this problem is to use a developer toolset as provided by Centos Software Collections.
We currently have Developer Toolset 6 installed and available on all Managed Linux Desktops. To use the packages in this toolset they must be enabled. You can do this with the following code:
$ scl enable devtoolset-6 bash
This will give you a bash shell that uses the developer tools rather than the standard tools in the distribution. To return to your normal shell simply exit the shell by typing the "exit" command.
The current versions included in the developer toolset are as follows: