centos安裝epel源

來源:互聯網
上載者:User

標籤:

用163的源,但是我發現這個源裡面,根本沒有libmcrypt libmcrypt-devel這二個包,裝php擴充mcrypt時,又要用到這二個包,所以我手動裝了libmcrypt包,但是給我的感覺是163源中的包不全。後來有一個朋友告訴我用epel,用了之後感覺很爽。

 

一,什麼是epel

如果既想獲得 RHEL 的高品質、高效能、高可靠性,又需要方便易用(關鍵是免費)的軟體封裝更新功能,那麼 Fedora Project 推出的 EPEL(Extra Packages for Enterprise Linux)正好適合你。EPEL(http://fedoraproject.org/wiki/EPEL) 是由 Fedora 社區打造,為 RHEL 及衍生髮行版如 CentOS、Scientific Linux 等提供高品質軟體包的項目。

二,使用心得

1,不用去換原來yum源,安裝後會產生新repo

2,epel會有很多源地址,如果一個下不到,會去另外一個下

http://mirror.xfes.ru/fedora-epel/6/x86_64/ibus-table-chinese-scj-1.3.4-1.el6.noarch.rpm: [Errno 14] PYCURL ERROR 6 - ""Trying other mirror.http://mirrors.ustc.edu.cn/fedora/epel/6/x86_64/ibus-table-chinese-scj-1.3.4-1.el6.noarch.rpm: [Errno 14] PYCURL ERROR 6 - ""Trying other mirror.http://repo.boun.edu.tr/epel/6/x86_64/ibus-table-chinese-scj-1.3.4-1.el6.noarch.rpm: [Errno 14] PYCURL ERROR 6 - ""kjs。。。。。。

 

3,更新時如果下載的包不全,就不會進行安裝。這樣的話,依賴關係可以保重

三,安裝epel,centos6選6,5就選5

32位系統選擇:

rpm -ivh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpmrpm -ivh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm

 

64位系統選擇:

rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpmrpm -ivh http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm

 

匯入key:

rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-5

 

如果用比較新的軟體,用epel-test.repo這個檔案就行了

別忘了安裝yum install yum-priorities

[[email protected] yum.repos.d]# ls |grep epelepel.repoepel-testing.repo

 

 

 

centos安裝epel源

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.