# yum -y install gcc-c++
查看redhat 7.4系统自己所安装的那些yum软件包
# rpm -qa | grep yum
卸载这些软件包
# rpm -qa|grep yum|xargs rpm -e --nodeps
下载centos的yum 相关 rpm包,
包下载地址http://mirrors.163.com/centos/7/os/x86_64/Packages/
# yum -y install gcc-c++
查看redhat 7.4系统自己所安装的那些yum软件包
# rpm -qa | grep yum
卸载这些软件包
# rpm -qa|grep yum|xargs rpm -e --nodeps
下载centos的yum 相关 rpm包,
包下载地址http://mirrors.163.com/centos/7/os/x86_64/Packages/