EPEL 安裝源

EPEL 是 Extra Packages for Enterprise Linux 的縮寫(EPEL),是用於 Fedora-based Red Hat Enterprise Linux (RHEL) 的一個高質量軟件源,因此同時也適用於 CentOS 或者 Scientific Linux 等發行版。 html

軟件需求

爲了保證系統的穩定性,強烈建議安裝使用 YUM 的優先級控制功能。 linux

安裝 EPEL 源

原始參考頁面: centos

  1. 下載並安裝最新的 EPEL Repository 自動安裝程序* **EPEL 上的 7.2 版本 x86_64,
    # 7.2
    yum install http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-2.noarch.rpm
    # 6.8 32位
    yum install http://mirrors.sohu.com/fedora-epel/6/i386/epel-release-6-8.noarch.rpm

    上面是 Sohu 的鏡像,或者也可從教育網鏡像下載(USTC) 安全

    # 6.8 32位,教育網鏡像(USTC)
    yum install http://mirrors.ustc.edu.cn/fedora/epel/6/i386/epel-release-6-8.noarch.rpm

    若是是 64 位系統,則改成 編輯器

    # 6.8 64位 x86_64
    yum install http://mirrors.sohu.com/fedora-epel/6/x86_64/epel-release-6-8.noarch.rpm

    網站

    # 6.8 64位 x86_64,教育網鏡像(USTC)
    yum install http://mirrors.ustc.edu.cn/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm

配置 EPEL Repository

  1. 使用熟悉的文本編輯器打開 EPEL repository 配置文件 /etc/yum.repos.d/epel.repo
  2. 爲 EPEL repository 安裝源設置優先級:將 priority=3 添加到 [epel] 一節的末尾。

** 能夠查看 EPEL 安裝源下載頁面以肯定當前的最新版本(注意選擇合適的系統:32位在/i386 目錄下;64 位在 /x86_64 目錄下)。 url

EPEL 的官方文檔/支持網站是 Fedora EPEL Wikispa

更新

2014-11-02 .net

增長 EL 7.2 下載地址。 插件

2013-09-27

更新到 EL 6.8 下載地址。

2012-09-27

更新到 EL 6.7 下載地址。

2012-02-24

更新文中 EL6 版本下載連接到新地址

 

RHEL/CentOS/Fedora各類源(EPEL、Remi、RPMForge、RPMFusion)配置

CentOS默認自帶CentOS-Base.repo源,但官方源中去除了不少有版權爭議的軟件,並且安裝的軟件也不是最新的穩定版。Fedora自帶的源中也找不到不少多媒體軟件,若是須要安裝,必需先添加其餘源,如RPMFusion和RPMForge等第三方軟件庫。

下面GoFace來一一介紹各類第三方軟件庫,如下軟件庫適用於與RHEL徹底兼容的linux發行版,如CentOS,Fedora,Scientific Linux。Scientific Linux你們可能有點陌生,它與CentOS相似,是RedHat Linux的克隆版,GoFace以前有過介紹:http://blog.51osos.com/linux/scientific-linux/

EPEL源


EPEL,即Extra Packages for Enterprise Linux,是由 Fedora 社區建立維護,爲 RHEL 及衍生髮行版如 CentOS、Scientific Linux 等提供高質量軟件包的項目。EPEL中含有大量的軟件,對官方標準源是一個很好的補充。

「EPEL (Extra Packages for Enterprise Linux  ) is a Fedora Special Interest Group that creates, maintains, and manages a high quality set of additional packages for Enterprise Linux, including, but not limited to, Red Hat Enterprise Linux (RHEL), CentOS and Scientific Linux (SL).」

64位,6.0版安裝:
rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-7.noarch.rpm
其餘版本自行瀏覽  http://dl.fedoraproject.org/pub/epel/

wiki:http://fedoraproject.org/wiki/EPEL
Fedora EPEL 下載:http://mirrors.fedoraproject.org/publiclist/EPEL/
EPEL 下載地址:http://fedoraproject.org/wiki/EPEL


Remi源

Remi源你們或許不多據說,不過Remi源GoFace強烈推薦,尤爲對於不想編譯最新版的linux使用者,由於Remi源中的軟件幾乎都是最新穩定版。或許您會懷疑穩定不?放心吧,這些都是Linux骨灰級的玩家編譯好放進源裏的,他們對於系統環境和軟件編譯參數的熟悉程度毋庸置疑。

Remi下載地址:http://rpms.famillecollet.com/

您也須要針對不一樣的版本號下載。

RPMForge源

RPMForge是CentOS系統下的軟件倉庫,擁有4000多種的軟件包,被CentOS社區認爲是最安全也是最穩定的一個軟件倉庫。

RPMForge官方網站:http://repoforge.org/
http://repoforge.org/use/

RPMForge下載地址:

32位:http://apt.sw.be/redhat/el6/en/i386/rpmforge/RPMS/

64位:http://apt.sw.be/redhat/el6/en/x86_64/rpmforge/RPMS/


RPMFusion源

若是您如今正在使用Fedora 15,對RPMFusion必定不陌生吧,各類音頻軟件如MPlayer在標準源中是沒有的,通常先安裝RPMFusion源,以後就能夠放便地yum install各類須要的軟件啦。

CentOS官方說RPMFusion軟件庫裏面的軟件穩定性不如rpmforge。

RPMFusion官網:http://rpmfusion.org/

Fedora 13, 14 and 15:

su -c ’yum localinstall –nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.

noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm’

RHEL 6/CentOS 6 :

su -c ’rpm -Uvh http://download1.rpmfusion.org/free/el/updates/testing/6/i386/rpmfusion-free-release-6-0.1.noarch.rpm http://download1.rpmfusion.org/nonfree/el/updates/testing/6/i386/rpmfusion-nonfree-release-6-0.1.noarch.rpm’

其餘版本請詳見:http://rpmfusion.org/Configuration

[size=5]如何使用各類源

以上源對CentOS等系統徹底兼容,但各軟件庫之間並不能保證徹底兼容沒有衝突。若是您須要使用以上源,您須要安裝yum-priorities插件。安裝yum-priorities插件後,您能夠給各個源設置優先級priority。通常設置官方標準源優先級爲1,最高,第三方推薦>10

priority=N (N爲1到99的正整數,數值越小越優先)

[base], [addons], [updates], [extras] … priority=1
[CentOSplus],[contrib] … priority=2
其餘第三的軟件源爲:priority=N (推薦N>10)

#vi CentOS-Base.repo

[base]

name=CentOS-$releasever - Base

mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os

#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/

gpgcheck=1

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

priority=1

#released updates

……

#wget http://download.fedora.redhat.com/pub/epel/6/x86_64/epel-release-6-5.noarch.rpm

#wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm

[root@GoGo yum.repos.d]# ls

CentOS-Base.repo       CentOS-Media.repo  epel-testing.repo

CentOS-Debuginfo.repo  epel.repo          remi.repo

vi remi.repo 將[remi] 中的 enabled=0 改爲 enabled=1 來啓用 remi 源

[root@GoGo yum.repos.d]# rpm –import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6

[root@GoGo yum.repos.d]# rpm –import /etc/pki/rpm-gpg/RPM-GPG-KEY-remi

在remi.repo中和epel.repo中添加priority設置便可使用。

相關文章
相關標籤/搜索