1.升级环境,安装gcc g++,安装若干相关依赖包yum -y updateyum install gcc gcc-c++
sudo yum -y install bzip2 wget gcc gcc-c++ gmp-devel mpfr-devel libmpc-devel makeyum install zlibyum install zlib-devel
https://ftp.gnu.org/gnu/gcc/gcc-7.5.0/gcc-7.5.0.tar.gz