Add Epel source under CentOS

Source: Internet
Author: User
Tags gpg

Rhel and his derivative distributions such as CentOS, Scientific Linux in order to stabilize, the official RPM repository provided RPM package is often very lag, of course, this is understandable, after all, this is the server version, security and stability is the focus, The official RPM repository provided by the RPM package is not rich enough, many times need to compile themselves that too hard, and epel just can solve both aspects of the problem.

What is Epel?
The full name of
EPEL is called Extra Packages for Enterprise Linux  . Epel is a project built by the Fedora community to deliver high-quality software packages for RHEL and derivative distributions such as CentOS, scientific Linux, and more. After the Epel is loaded, it is equivalent to adding a third-party source.

If you know rpmfusion.org, it is appropriate to compare rpmfusion, rpmfusion mainly provides a large number of RPM packages for the desktop distribution, and EPEL A large number of rpm packages are available for the server version, and most rpm packages are in the official Repository is not found in .

Another feature is that most rpm packages are more than official repository of rpm package version to be new , such as my previous days on the CentOS installation of Php,rhel for stability still in the 5.1.6 version, I remember this is the first half of last year's version, and PHP The latest version has reached 5.3.2, if the phpMyAdmin is installed on the basis of php5.1.6, it will prompt PHP version is too low, this time, the newer PHP rpm provided in Epel can be handy.

===================================

One, what is Epel
If you want to get RHEL high-quality, high-performance, high-reliability, and need easy-to-use (the key is free) package update features, then Fedoraproject launched Epel (Extra Packages for Enterprise Linux) just right for you. EPEL (Http://fedoraproject.org/wiki/EPEL) is a project built by the Fedora community to provide high-quality software packages for RHEL and derivative distributions such as CentOS, Scientificlinux, etc.


Second, the use of experience
1, do not have to change the original yum source, after installation will produce new repo
2,epel will have a lot of source address, if one down, will go to another under
Http://mirror.xfes.ru/fedora-epel/6/x86_64/ibus-table-chinese-scj-1.3.4-1.el6.noarch.rpm:[errno] 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] 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] PYCURL ERROR 6-"" KJs
3, if the download package is not complete at the time of update, it will not be installed. In that case, the dependency can take care.


Three, install EPEL,CENTOS6 Select 6, 5 on select 5
32-bit System selection:
rpm-ivhhttp://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
rpm-ivhhttp://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm

64-bit System selection:
rpm-ivhhttp://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm-ivhhttp://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm

Import Key:
RPM--import/etc/pki/rpm-gpg/rpm-gpg-key-epel-6
RPM--import/etc/pki/rpm-gpg/rpm-gpg-key-epel-5

If you use newer software, you can use the Epel-test.repo file.
Don't forget to install the yuminstall yum-priorities

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

Add Epel source under CentOS

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.