报错 若提示无可用软件包,设置epel源或者网易源即可解决 epel源 wget -O /etc/yum.repos.d/CentOS-Base-epel.repo http://mirrors.aliyun.com/repo/Centos-7.repo 网易源 wget -P /etc/yum.repos.d http://mirrors.163.com/.help/CentOS7-Base-163.repo