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

來源:互聯網
上載者:User

標籤:

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/EPELFedora EPEL 下載:http://mirrors.fedoraproject.org/publiclist/EPEL/EPEL :http://fedoraproject.org/wiki/EPELRemi源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,最高,第三方推薦>10priority=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 - Basemirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/gpgcheck=1gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6priority=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[[email protected] yum.repos.d]# lsCentOS-Base.repo       CentOS-Media.repo  epel-testing.repoCentOS-Debuginfo.repo  epel.repo          remi.repovi remi.repo 將[remi] 中的 enabled=0 改成 enabled=1 來啟用 remi 源[[email protected] yum.repos.d]# rpm –import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6[[email protected] yum.repos.d]# rpm –import /etc/pki/rpm-gpg/RPM-GPG-KEY-remi在remi.repo中和epel.repo中添加priority設定即可使用。

 

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

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.