Configure the EPEL yum source and epelyum

Source: Internet
Author: User

Configure the EPEL yum source and epelyum

When we use the yum installation package on linux, the following error is returned:

Loaded plugins: product-id, refresh-packagekit, security, subscription-managerThis system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.Setting up Install ProcessNothing to do

In this case, we need to install EPEL.

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, so if you are using RHEL

Download and install EPEL from the official website

Download: (RHEL/CentOS 5 32-64 Bit)

Wget http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm

Installation:

Rpm-ivh epel-release-5-4.noarch.rpm

Configuration:

Create epel. repo under/etc/yum. repos. d/

[Epel-source] enabled = 0 is also changed to enabled = 1

 

enabled=1gpgcheck=1gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL[epel-debuginfo]name=Extra Packages for Enterprise Linux 5 - $basearch - Debug#baseurl=http://download.fedoraproject.org/pub/epel/5/$basearch/debugmirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-debug-5&arch=$basearchfailovermethod=priorityenabled=0gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPELgpgcheck=1[epel-source]name=Extra Packages for Enterprise Linux 5 - $basearch - Source#baseurl=http://download.fedoraproject.org/pub/epel/5/SRPMSmirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-source-5&arch=$basearchfailovermethod=priorityenabled=1gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPELgpgcheck=1

Uninstall EPEL:

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

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.