Centos 8 安装桌面系统
dnf groupinstall Workstation
systemctl set-default graphical
Centos 8 安装C++ 静态库
sudo dnf config-manager --set-enabled PowerTools
sudo dnf install glibc-static libstdc++-static -y;
Centos 7 升级gcc7
yum升级gcc 6方法具体如下:
yum -y install centos-release-scl
yum -y install devtoolset-7-gcc devtoolset-7-gcc-c++ devtoolset-7-binutils
scl enable devtoolset-7 bash
echo "source /opt/rh/devtoolset-7/enable" >>/etc/profile
Cenots 7 升级python35
# 查看安装的包
scl -l
yum -y install rh-python35
scl enable rh-python35 bash
echo "source /opt/rh/rh-python35/enable" >>/etc/profile