CentOS 5/6.x using EPEL yum source

Source: Internet
Author: User
Tags gpg dell r610

Reference: http://www.linuxidc.com/Linux/2013-08/88523.htm

Outline one, what is Epel? Ii. comparison with 163 yum source three, CentOS 5.X installation using Epel Yum Source IV, CentOS 6.X installation using Epel Yum Source Five, the use of six, Yumdownloader Tools VII, uninstall EPEL source Note: Operating system CentOS 6.X, CentOS 5.X

Recommended reading:

Configuring Epel Yum Source http://www.linuxidc.com/Linux/2012-10/71850.htm

RedHat local Yum source configuration http://www.linuxidc.com/Linux/2012-11/75127.htm

RedHat configuration of the local Yum source for Linux http://www.linuxidc.com/Linux/2013-08/88217.htm

RedHat 6.2 Linux Modified Yum source free use of CentOS source http://www.linuxidc.com/Linux/2013-07/87383.htm

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.linuxidc.com

User name: ftp1.linuxidc.com

Password: www.linuxidc.com

In 2013 linuxidc.com\8 month \centos 5&6.x using EPEL yum source

Download method See http://www.linuxidc.com/Linux/2013-10/91140.htm

------------------------------------------Split Line------------------------------------------

First, what is Epel? EPEL, extra Packages for Enterprise Linux (Http://Fedoraproject.org/wiki/EPEL) is built by the Fedora community for RHEL and derivative distributions such as CentOS, Scientific provides high quality software packages for Linux and other projects. This is where RHEL's high-quality, high-performance, high-reliability, free, easy-to-use packages are available. Ii. comparison with 163 yum Source today, on the Dell R610 installed Centos6.4 x86_64 operating system, installed after the system, with 163 of the Yum source installation software, I have been using 163 of the Yum source, because it is the domestic Yum source, relatively fast. However, I found that the source, there is no libmcrypt,libmcrypt-devel this two RPM package, loaded with PHP extension mcrypt, but also use the two packages, so I manually installed the two Libmcrypt package, found that 163 source of the package is not complete. Later installed the heartbeat, found that there is no, so I decided to change the source, and then to the online search, found the Epel source, after using the feeling very cool. Now summarize, share with you! Third, the CentOS 5.X installation uses Epel yum source 1. View operating system version [[email protected] ~]# lsb_release-a 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 [[email protected] ~]# uname-a Linux localhost.localdomain 2.6.18-194.el5 #1 SMP Fri APR 2 14:58:14 EDT x86_64 x86_64 x86_64 gnu/linux

2. Download the appropriate Epel source (1). 32-bit system [email protected] src]# wget http://download.fedoraproject.org/pub/epel/5/i386/ epel-release-5-4.noarch.rpm

(2). 64-bit system 1 [[email protected] src]# wget http://download.fedoraproject.org/pub/epel/5/x86_64/ epel-release-5-4.noarch.rpm

3. Install Epel Source (Note: I am here 64-bit system) [[email protected] 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 [[email protected] src]# rpm--import/etc/pki/rpm-gpg/rpm-gpg-key-centos-5

5. View the installed Epel source [[email protected] src]# cd/etc/yum.repos.d/ [[email protected] yum.repos.d]# ll Total -rw  -r--r--1 root root 2245 2010-04-26 Centos-base.repo -rw-r--r--1 root root 626 2010-04-26 Centos-media.repo -rw-r--r--1 root root 954 2010-08-12 Epel.repo #正式版, all software is stable and can be trusted -rw-r--r--1 root root 1054 2010-08-12 epel-tes Ting.repo #最新的测试源

Note: But by default, only the official version is valid, if you want to try the test version, you need to modify the/etc/yum.repos.d/epel-testing.repo, the enabled=0 to Enabled=1 can be changed. 6. Test [[email protected] yum.repos.d]# Yum clean all [[email protected] yum.repos.d]# Yum list

Iv. CentOS 6.X installation use Epel Yum source 1. View OS version [email protected] ~]# uname-a Linux node1.test.com 2.6.32-358.el6.x86_64 #1 SMP Fri 00:31:26 UTC x86_64 x86_64 x86_64 gnu/linux [[email protected] ~]# cat/etc/issue CentOS Release 6.4 (Final) Kernel \ r on a \m

2. Download the appropriate Epel source (1). 32-bit system [[email protected] src]# wget http://download. fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm

(1). 64-bit system [[email protected] src]# wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

3. Install Epel Source (Note: I am here 64-bit system) [[email protected] src]# RPM-IVH epel-release-6-8.noarch.rpm Warning: Epel-release-6-8.noarch.rpm:header V3 rsa/sha256 Signature, key ID 0608b895:nokey Preparing ... ################### ######################## [100%] 1:epel-release ########################################### [100%]

4. Import the KEY file [[email protected] src]# rpm--import/etc/pki/rpm-gpg/rpm-gpg-key-epel-6

5. View the installed Epel source [[email protected] src]# cd/etc/yum.repos.d/  [[ Email protected] yum.repos.d]# ll  total usage 24 -rw-r--r--. 1 root root 1926 February 16:57 centos-base.repo -rw-r--r--. 1 root root 638 February 25 16:57 centos-debuginfo.repo -rw-r--r--. 1 root root 623 July 25 16:57 Centos-media.repo -rw-r--r--. 1 root root 3664 February 16:57 centos-vault.repo< Span class= "Apple-converted-space" > -rw-r--r--1 root root 957 November 5 epel.repo -rw-r--r--1 root root 1056 November 5 epel-testing.repo span>

6. Test [[email protected] yum.repos.d]# Yum clean all [[email protected] yum.repos.d]# Yum list

Five, the use of experience 1. No need to change the original Yum source, after installation will produce a new repo 2.epel will have a lot of source address, if one below, will go to another next 3. If the package is not fully downloaded at the time of the update, it will not be installed, so the dependency can take care of six, Yumdownloader Tool Description: There are a lot of good software in Epel, we can directly download the RPM package in Yum source with Yumdownloader, let's say how to use Method 1. Install the Yum tool [[email protected] ~]# yum-y install Yum-utils

2. Download the software you want to download, such as heartbeat [[email protected] src]# Yumdownloader Heartbeat

3. View downloaded RPM package [[email protected] src]# ll total usage -rw-r--r--1 root root 14540 November 5 epel-release-6-8.noarch. RPM -rw-r--r--1 root root 165244 May heartbeat-3.0.4-1.el6.x86_64.rpm

Seven, uninstall Epel source Description: If you do not want to use Epel yum Source, the corresponding file in the enabled=1 changed to Enabled=0 on the line, if you absolutely do not need, then directly uninstall [[email protected] src]# RPM-E Epel-release

CentOS 5/6.x using EPEL yum source

Related Article

E-Commerce Solutions

Leverage the same tools powering the Alibaba Ecosystem

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

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.