Linux Yum Source

Source: Internet
Author: User

Installing Epel on CentOS

To install Epel, we will first download the Epel RPM installation package.

6.x and 5.x versions of the download page below Centos/rhel

http://download.fedoraproject.org/pub/epel/6/i386/repoview/epel-release.htmlhttp://download.fedoraproject.org/ Pub/epel/5/i386/repoview/epel-release.html

The above URLs may be redirected to a specific mirror station for faster download times. This page contains download links that can be obtained directly to the RPM package. The direct download link is as follows:

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

Choose the right one based on your CentOS version.

Please note that the Epel installation package is compiled independently, so it can be installed on 32-bit and 64-bit systems

1. Confirm the version of your CentOS

First confirm your CentOS version with the following command

$ cat/etc/redhat-release CentOS Release 6.4 (Final)


2. Download the Epel RPM installation package

Now download the Epel version of the CentOS version from the address above

$ wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm



3. Installing Epel

Install the Epel package with the following command

$ sudo rpm-ivh epel-release-6-8.noarch.rpm

Or

$ sudo rpm-ivh epel-release*

4. Check the Epel source

After installing the Epel source, use the Yum command to check whether the source list is added

# yum repolistloaded plugins:fastestmirrorloading mirror speeds from cached Hostfile * base:mirrors.vonline.vn * epel:b Uaya.klas.or.id * extras:centos-hn.viettelidc.com.vn * Updates:mirrors.fibo.vnrepo ID        repo name                                              statusbase           CentOS-6-Base                                         6,381epel           Extra Packages for Enterprise Linux 6-x86_64         10,023extras         CentOS-6-EXT RAS                                          13nginx          nginx repo                                                 47updates        CentOS-6-Updates                                      1,555repolist:18,019

Epel has been listed after repo, and the display provides tens of thousands of packages, so Epel has been installed on your CentOS






Linux Yum Source

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.