Centos更新yum packet源

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

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

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

    # yum install http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-2.noarch.rpm
相关文章
相关标签/搜索