linux os 7 光盘 怎么安装yum

linux os 7 光盘 怎么安装yum

linux os 7 光盘 怎么安装yum

文章插图

1.卸载rhel的默认安装的yum包查看yum包rpm -qa|grep yum卸载之rpm -qa|grep yum|xargs rpm -e --nodeps
2.下载新的yum包64位linux系统下载安装包wget http://centos.ustc.edu.cn/centos/5/os/x86_64/CentOS/yum-3.2.22-40.el5.centos.noarch.rpmwget http://centos.ustc.edu.cn/centos/5/os/x86_64/CentOS/yum-fastestmirror-1.1.16-21.el5.centos.noarch.rpmwget http://centos.ustc.edu.cn/centos/5/os/x86_64/CentOS/yum-me