CentOS epel yum source tutorial

Source: Internet
Author: User

EPEL (Extra Packages for Enterprise Linux) is a Fedora-based project that provides additional software Packages for the Red Hat operating system, applicable to RHEL, CentOS, and Scientific Linux.

Easy to use:
1. First, we need to install a software package named "epel-release", which will automatically configure the yum software repository. Of course, you can also choose not to install this package, and configure the software warehouse by yourself.

# RHEL5 Series

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

# RHEL6 Series

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

2. After installation, you can directly use yum to install additional software packages.

yum clean all
yum install nginx pure-ftpd

Another more convenient way is to manually add the software repository configuration file.

vi /etc/yum.repos.d/epel.repo

[Epel]
Name = epel
Using list = http://mirrors.fedoraproject.org/mirrorlist? Repo = epel-$ releasever & arch = $ basearch
Enabled = 1
Gpgcheck = 0

After adding:

yum clean all && yum update

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.