在使用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