找不到命令

wget找不到命令

运行 yum -y install wget 即可

yum 安装 Error: No matching Packages to list


阿里云yum源:
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo

yum clean all

yum makecache

CentOS 使用yum命令安装出现错误提示:Loaded plugins: fastestmirror

修改插件的配置文件


然后找到enabled = 1//由1改为0,禁用该插件


然后找到plugins=1//改为0,不使用插件

yum安装软件报错Error: Nothing to do

上网找了原因是少了 缺少EPEL
解决办法 :yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

原文地址:https://www.cnblogs.com/rzkwz/p/13068654.html