EPEL for CentOS or Redhat, epelcentos

Source: Internet
Author: User

EPEL for CentOS or Redhat, epelcentos

Note: The address 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, is a software warehouse that has many frequently used software and is specially designed for RHEL. It is a good supplement to the RHEL standard yum source, it is completely free to use and maintained by the Fedora Project. Therefore, if you are using RHEL, CentOS, Scientific, and other RHEL linux systems, you can use the EPEL yum source with peace of mind.


The yum source for configuring EPEL is also quite simple. For different Linux versions, the method is as follows:


1. If you are using RHEL linux systems like RHEL6.x, CentOS6.x, and Scientific6.x, run:


[Root @ test ~] # 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, run:


[Root @ test ~] # 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, run:


[Root @ test ~] # Rpm-ivh http://download.fedoraproject.org/pub/epel/4/i386/epel-release-4-10.noarch.rpm


In fact, the package installed above releases two repo files from the yum source under your system/etc/yum. repos. d:


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


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


Of course, if you do not want to use the EPEL yum source for the moment, change enabled = 1 to enabled = 0 in the corresponding file. If you do not need it, unmount the file directly:


[Root @ test ~] # Rpm-e epel-release


Note: If the rpm package installed above is officially upgraded, the link will change and you will go to the official website to confirm it.


This article from the Linux community website (www.linuxidc.com) original link: http://www.linuxidc.com/Linux/2012-10/71850.htm

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.