首页 > 代码库 > CentOS 6.x安装4.8、4.9、5.2

CentOS 6.x安装4.8、4.9、5.2

yum check-update
yum install devtoolset-2-gcc  devtoolset-2-gcc-c++
source /opt/rh/devtoolset-2/enable

 

yum install centos-release-scl-rh centos-release-scl
yum check-update
yum install devtoolset-3-gcc  devtoolset-3-gcc-c++
source /opt/rh/devtoolset-3/enable

 

yum install centos-release-scl-rh centos-release-scl
yum check-update
yum install devtoolset-4-gcc  devtoolset-4-gcc-c++
source /opt/rh/devtoolset-4/enable

 

CentOS 6.x安装4.8、4.9、5.2