错误 没有已启用的仓库。 执行 “yum repolist all” 查看您拥有的仓库。 您可以用 yum-config-manager --enable <仓库名> 来启用仓库 解决方法 在linux下利用apt-get代替yum