设计说明书模板,seo报价单,潍坊建设网站的公司电话,广西seo网站centos7查看版本cat /etc/redhat-release // 我这边是 CentOS Linux release 7.6.1810 (Core)强制删除已安装程序及其关联rpm -qa|grep python|xargs rpm -ev --allmatches --nodeps删除所有残余文件 ##xargs,允许你对输出执行其他某些命令whereis python |xargs rm -frv验证删…centos7查看版本cat /etc/redhat-release // 我这边是 CentOS Linux release 7.6.1810 (Core)强制删除已安装程序及其关联rpm -qa|grep python|xargs rpm -ev --allmatches --nodeps删除所有残余文件 ##xargs,允许你对输出执行其他某些命令whereis python |xargs rm -frv验证删除,返回无结果whereis pythonpython包下载到/opt/software/python/中(wget已经不能用了,页面下载的直接拷贝文件即可,也可以在其他机器上wget)将上面的包放到/opt/software/python/下面,执行下面的命令rpm -Uvh --replacepkgs python*.rpm删除原有YUMrpm -aq|grep yum|xargs rpm -e --nodeps--force 即使覆盖属于其它包的文件也强迫安装--nodeps 如果该RPM包的安装依赖其它包即使其它包没装也强迫安装。rpm -Uvh --replacepkgs rpm-python.rpm yum.rpm --force --nodeps将yum源配置为网易和阿里的开源镜像备份原来的镜像源cd /etc/yum.repos.d/mkdir repo_bakmv *.repo repo_bak/下载阿里和网易源清除系统所有的yum缓存yum clean all生成yum缓存yum makecache安装epel源yum install -y epel-release使用阿里开源镜像提供的epel源再次清除系统yum缓存并重新生成新的yum缓存yum clean allyum makecache查看系统可用的yum源和所有的yum源yum repolist enabled