centos6.8 Installation Enabled Epel

Source: Internet
Author: User
Tags gpg centos yum repolist

EPEL (Enterprise Linux Add-on) is a special interest group created, maintained, and managed for Red Hat Enterprise Linux (RHEL) and its derivative distributions (such as CentOS, Scientific Linux, Oracle Enterprise Linux ) provides high-quality additional packages. EPEL packages typically do not conflict with packages in the official Linux source, or replace files with each other.
epel_rpm Package Download

Installation Method
1.yum Installation

$ yum Install Epel-release-y

CentOS users can install and enable EPEL feeds directly from Yum. CentOS Extras contains the package by default. CentOS-6.8 is the latest version installed through Yum.

2.RPM Package Installation (/USR/LOCAL/SRC directory)

$ wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
$ rpm-ivh epel-release-latest-6.noarch.rpm

The installation is complete and you can see if the Epel source exists through Yum repolist.
If there is an error as shown below, import rpm-gpg-key-epel-6.

$ wget http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-6
$ mv rpm-gpg-key-epel-6/etc/pki/rpm-gpg/
$ RPM--import/etc/pki/rpm-gpg/rpm-gpg-key-epel-6

If there is a mistake, also hope to point out, thank you.

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.