> Linux教程 > 系统运维 >

Linux系统yum卸载重装

yum卸载:

QQ???20151221154859.png

上图可以看到已经卸载成功,之后使用命令 whereis yum 搜索剩余的残留目录,进行删除

yum下载(centos6): 

 wget http://mirror.centos.org/centos-6/6/os/x86_64/Packages/yum-3.2.29-69.el6.centos.noarch.rpm

 wget http://mirror.centos.org/centos-6/6/os/x86_64/Packages/yum-metadata-parser-1.1.2-16.el6.x86_64.rpm

 wget http://mirror.centos.org/centos-6/6/os/x86_64/Packages/yum-plugin-fastestmirror-1.1.30-30.el6.noarch.rpm

yum安装(centos6):

    rpm -ivh yum-3.2.29-69.el6.centos.noarch.rpm  yum-plugin-fastestmirror-1.1.30-30.el6.noarch.rpm  yum-metadata-parser-1.1.2-16.el6.x86_64.rpm

安装详情如下图:

    

可以看到已经安装成功:

    

 

    

(责任编辑:IT)