企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
[TOC] # yum丢失的解决办法 ## 找到正确的源 首先到163源找到相应的rpm包,163网址如下:http://mirrors.163.com/centos/7/os/x86_64/Packages/,如图所示: ![mark](http://qiniu.newthink.cc/blog/180925/be97FaBdFi.png) 找到以上几个包,然后右键"复制链接地址"即可,然后在centos下操作以下命令! ## 安装 ``` mkdir /usr/local/src/yum wget http://mirrors.163.com/centos/7/os/x86_64/Packages/yum-3.4.3-158.el7.centos.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-plugin-fastestmirror-1.1.31-45.el7.noarch.rpm rpm -ivh yum-* ``` 运行 yum,如图所示,yum又有了! ![mark](http://qiniu.newthink.cc/blog/180925/F0dJc4leK1.png)