Sitemap

2019年7月23日 礼拜二
主页 / 义务日记 / 怎样办理bash: yum: command not found过失

怎样办理bash: yum: command not found过失

新装的CentOS 7 安装LNMP提示什么“no module named yum”,然后开端弄YUM,折腾了一大圈,然后把YUM删除了……晕死

办理: -bash: yum: command not found过失

http://mirrors.163.com/centos/7/os/x86_64/Packages/下载以下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/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-150.el7.centos.noarch.rpm

wget http://mirrors.163.com/centos/7/os/x86_64/Packages/yum-plugin-fastestmirror-1.1.31-40.el7.noarch.rpm

安装必定加上rpm -ivh –force –nodeps 否则会报错

rpm -ivh –force –nodeps python-iniparse-0.4-9.el7.noarch.rpm

rpm -ivh –force –nodeps yum-metadata-parser-1.1.4-10.el7.x86_64.rpm

rpm -ivh –force –nodeps yum-3.4.3-150.el7.centos.noarch.rpm

rpm -ivh –force –nodeps yum-plugin-fastestmirror-1.1.31-40.el7.noarch.rpm

办理: no module named yum过失

http://yum.baseurl.org/wiki

wget http://yum.baseurl.org/download/3.4/yum-3.4.3.tar.gz

tar -zxvf yum-3.4.3.tar.gzcd yum-3.4.3

./yummain.py update -y

原创作品,转载请阐明: 转载自日本一级特黄大片
本文链接地址: 怎样办理bash: yum: command not found过失

关于 日本一级特黄大片

好记性,不如烂笔头。

随机引荐

关合WordPress弱密码运用提示插图

关合WordPress弱密码运用提示

怎样关合wordpress用户 …

发外评论