linux下手动安装yum
同事手贱,卸载了线上某台Linux的yum软件,导致一些软件不能直接用yum安装,网上安装yum的教程杂七杂八的,没找到正常能用的,废了好大功夫整理了手动安装yum的流程,centos亲测可用。wget http://mirrors.163.com/centos/7/os/x86_64/Packages/python-libs-2.7.5-88.el7.x86_64.rpmwget http://
·
同事手贱,卸载了线上某台Linux的yum软件,导致一些软件不能直接用yum安装,网上安装yum的教程杂七杂八的,没找到正常能用的,废了好大功夫整理了手动安装yum的流程,centos亲测可用。
wget http://mirrors.163.com/centos/7/os/x86_64/Packages/python-libs-2.7.5-88.el7.x86_64.rpm
wget http://mirrors.163.com/centos/7/os/x86_64/Packages/python-2.7.5-88.el7.x86_64.rpm
wget http://mirrors.163.com/centos/7/os/x86_64/Packages/python-iniparse-0.4-9.el7.noarch.rpm
wget http://mirrors.163.com/centos/7/os/x86_64/Packages/python-pycurl-7.19.0-19.el7.x86_64.rpm
wget http://mirrors.163.com/centos/7/os/x86_64/Packages/rpm-python-4.11.3-43.el7.x86_64.rpm
wget http://mirrors.163.com/centos/7/os/x86_64/Packages/yum-metadata-parser-1.1.4-10.el7.x86_64.rpm
wget http://mirrors.163.com/centos/7/os/x86_64/Packages/yum-3.4.3-167.el7.centos.noarch.rpm
wget http://mirrors.163.com/centos/7/os/x86_64/Packages/yum-plugin-fastestmirror-1.1.31-53.el7.noarch.rpm
rpm -ivh python-libs-2.7.5-88.el7.x86_64.rpm --nodeps --force
rpm -ivh python-2.7.5-88.el7.x86_64.rpm --nodeps --force
rpm -ivh python-iniparse-0.4-9.el7.noarch.rpm --nodeps --force
rpm -ivh python-pycurl-7.19.0-19.el7.x86_64.rpm --nodeps --force
rpm -ivh rpm-python-4.11.3-43.el7.x86_64.rpm --nodeps --force
rpm -ivh yum-metadata-parser-1.1.4-10.el7.x86_64.rpm --nodeps --force
rpm -ivh yum-3.4.3-167.el7.centos.noarch.rpm yum-plugin-fastestmirror-1.1.31-53.el7.noarch.rpm --nodeps --force
更多推荐
已为社区贡献1条内容
所有评论(0)