EPEL for CentOS or Redhat

Source: Internet
Author: User



Note: addresses may change


RHEL / CentOS 7 64 Bit
# wget http://dl.fedoraproject.org/pub/epel/beta/7/x86_64/epel-release-7-0.2.noarch.rpm
# rpm -ivh epel-release-7-0.2.noarch.rpm

RHEL / CentOS 6 32-64 Bit
## RHEL / CentOS 6 32-Bit ##
# wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
# rpm -ivh epel-release-6-8.noarch.rpm

## RHEL / CentOS 6 64-Bit ##
# wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
# rpm -ivh epel-release-6-8.noarch.rpm

RHEL / CentOS 5 32-64 Bit
## RHEL / CentOS 5 32-Bit ##
# wget http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
# rpm -ivh epel-release-5-4.noarch.rpm

## RHEL / CentOS 5 64-Bit ##
# wget http://download.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
# rpm -ivh epel-release-5-4.noarch.rpm

RHEL / CentOS 4 32-64 Bit
## RHEL / CentOS 4 32-Bit ##
# wget http://download.fedoraproject.org/pub/epel/4/i386/epel-release-4-10.noarch.rpm
# rpm -ivh epel-release-4-10.noarch.rpm

## RHEL / CentOS 4 64-Bit ##
# wget http://download.fedoraproject.org/pub/epel/4/x86_64/epel-release-4-10.noarch.rpm
# rpm -ivh epel-release-4-10.noarch.rpm
Note:

EPEL, Extra Packages for Enterprise Linux, there are many very commonly used software in this software warehouse, and it is specially designed for RHEL. It is a good supplement to the RHEL standard yum source. It is completely free to use and is maintained by the Fedora project If you are using RHEL, or CentOS, Scientific and other RHEL Linux, you can use EPEL's yum source with confidence.


Configuring the yum source of EPEL is also quite simple. For different Linux versions, the method is as follows:


1. If you are using RHEL 6.x such as RHEL6.x, CentOS6.x, Scientific6.x, etc., execute:


[[email protected] ~] # rpm -ivh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-5.noarch.rpm


2. If you are using the 5.x series, execute:


[[email protected] ~] # rpm -ivh http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm


3. If you are using the 4.x series, execute:


[[email protected] ~] # rpm -ivh http://download.fedoraproject.org/pub/epel/4/i386/epel-release-4-10.noarch.rpm


In fact, the package installed above releases only 2 repo files of yum source under /etc/yum.repos.d/ on your system:


/etc/yum.repos.d/epel.repo official version, all software is stable and reliable
/etc/yum.repos.d/epel-testing.repo beta
But by default, only the official version is valid. If you want to try the beta version, you need to modify /etc/yum.repos.d/epel-testing.repo and change enabled = 0 to enabled = 1. .


In addition, if you want to use yumdownloader to download the src.rpm package, you need to change the enabled = 0 in the [epel-source] field in epel.repo to enabled = 1.


Of course, if you do n’t want to use EPEL ’s yum source for the time being, just change enabled = 1 to enabled = 0 in the corresponding file. If you do n’t need it at all, just uninstall it:


[[email protected] ~] # rpm -e epel-release


Note: The rpm package installed above, if the official upgrade, the link will change, go to the official confirmation.


This article comes from the Linux Commune website (www.linuxidc.com) Original link: http://www.linuxidc.com/Linux/2012-10/71850.htm
EPEL for CentOS or Redhat

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.