This guide assumes you are switched to su - . This guide assumes you are using the eSG provided installation image.
Install GCC using scl packages
yum install centos-release-scl yum install devtoolset-3-toolchain
scl enable devtoolset-3 bash
Note: This will temporarily enable the installed gcc.