Centos更新yum packet源

  在使用Centos时,常常会遇到使用yum安装某些系统依赖包,特别是第三方软件库(如openstack软件库)时,无法找到包源。因此,需要将Centos的yum源进行更新,扩展,以便可以通过yum的方式安装更到更多packects。Fedora社区的一个项目EPEL(Extra Packages for Enterprise Linux),它提供了很多源地址。

  • Install the yum-plugin-priorities package to enable assignment of relative priorities within repositories:

    # yum install yum-plugin-priorities
  • Install the epel-release package to enable the EPEL repository:

    # yum install http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-2.noarch.rpm

  

有一种女人,叫37℃程序'媛'。平凡但不平庸;严谨但不无趣;不愠不火...
原文地址:https://www.cnblogs.com/fangyuan1004/p/4126109.html