解压并安装
unzip gcc.zip cd gcc rpm -Uvh *.rpm --nodeps --force
查看 gcc 版本信息
gcc --version gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-4) Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
gcc-CentOS.zip 下载地址