CentOS 5/6. X use epel yum Source

Source: Internet
Author: User
Tags dell r610

Outline
1. What is EPEL?
Ii. Comparison with 163 YUM Source
Iii. install and use epel yum source in CentOS 5.X
Iv. install and use epel yum source in CentOS 6.X
5. usage experience
Vi. yumdownloader Tool
7. Uninstall the EPEL Source
Note: CentOS 6.X and CentOS 5.X

Recommended reading:

Configure the epel yum Source

RedHat local yum source configuration

RedHat Linux local yum source configuration

RedHat 6.2 modify yum source in Linux use CentOS source for free

Heartbeat-3.0.4-1.el6.x86_64.rpm and heartbeat-3.0.4-2.el6.x86_64.rpm download:

------------------------------------------ Split line ------------------------------------------

FTP address: ftp://ftp1.bkjia.com

Username: ftp1.bkjia.com

Password: www.bkjia.com

Use the epel yum source on LinuxIDC.com \ 2013 \ CentOS 5 & 6.X on April 9, August

For the download method, see

------------------------------------------ Split line ------------------------------------------

1. What is EPEL?
EPEL, or Extra Packages for Enterprise Linux (http://Fedoraproject.org/wiki/EPEL), is a program built by the Fedora community to provide high-quality software Packages for RHEL and its derivative releases such as CentOS and Scientific Linux. You can obtain RHEL's high-quality, high-performance, high-reliability, free, easy-to-use software packages.
Ii. Comparison with 163 YUM Source
Today, Centos6.4 X86_64 operating system is installed on Dell R610. After installing the system, I used 163 YUM source to install the software. I always used 163 YUM source, because it is a domestic YUM source, it is faster. However, I found that there are no libmcrypt or libmcrypt-devel RPM packages in this source. These two packages will be used when php extension mcrypt is installed, so I manually installed the two libmcrypt packages and found that the packages in the 163 source are incomplete. Later, I installed heartbeat and found no. So I decided to change the source. Then I went to the Internet to search for it and found the EPEL source. After using it, I felt great. Now, let's summarize and share with you!
Iii. install and use epel yum source in CentOS 5.X
1. view the operating system version
[Root @ localhost ~] # Lsb_release-
LSB Version: core-3.1-amd64: core-3.1-ia32: core-3.1-noarch: graphics-3.1-amd64: graphics-3.1-ia32: graphics-3.1-noarch:
Distributor ID: CentOS
Description: CentOS release 5.5 (Final)
Release: 5.5
Codename: Final
[Root @ localhost ~] # Uname-
Linux localhost. localdomain 2.6.18-194. el5 #1 SMP Fri Apr 2 14:58:14 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux

2. Download the corresponding EPEL Source
(1). 32-bit System
[Root @ localhost src] # wget http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm

(2). 64-bit System
1 [root @ localhost src] # wget http://download.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm

3. Install the EPEL source (Note: I am using a 64-bit System)
[Root @ localhost src] # rpm-ivh epel-release-5-4.noarch.rpm
Warning: epel-release-5-4.noarch.rpm: Header V3 DSA signature: NOKEY, key ID 217521f6
Preparing... ######################################## ### [100%]
1: epel-release ##################################### ###### [100%]

4. Import the key file
1 [root @ localhost src] # rpm -- import/etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

5. view the installed EPEL Source
[Root @ localhost src] # cd/etc/yum. repos. d/
[Root @ localhost yum. repos. d] # ll
Total 24
-Rw-r -- 1 root 2245 2010-04-26 CentOS-Base.repo
-Rw-r -- 1 root 626 2010-04-26 CentOS-Media.repo
-Rw-r -- 1 root 954 2010-08-12 epel. repo # official version, all software is stable and reliable
-Rw-r -- 1 root 1054 2010-08-12 epel-testing.repo # latest test Source

Note: 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.
6. Test
[Root @ localhost yum. repos. d] # yum clean all
[Root @ localhost yum. repos. d] # yum list

Next, let's take a look at the highlights of page 2nd:

  • 1
  • 2
  • Next Page

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.