Centos7 epel source configuration

Source: Internet
Author: User
Tags metalink

Centos7 epel source configuration

For CentOS6, edit/etc/yum. repos. d/epel. repo and enter the following content.

[epel] name=ExtraPackages for EnterpriseLinux6-$basearch #baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch mirrorlist=https: //mirrors .fedoraproject.org /metalink ?repo=epel-6&arch=$basearch failovermethod=priority enabled=1 gpgcheck=1 gpgkey= file : ///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6 [epel-debuginfo] name=ExtraPackages for EnterpriseLinux6-$basearch-Debug #baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch/debug mirrorlist=https: //mirrors .fedoraproject.org /metalink ?repo=epel-debug-6&arch=$basearch failovermethod=priority enabled=0 gpgkey= file : ///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6 gpgcheck=1 [epel- source ] name=ExtraPackages for EnterpriseLinux6-$basearch-Source #baseurl=http://download.fedoraproject.org/pub/epel/6/SRPMS mirrorlist=https: //mirrors .fedoraproject.org /metalink ?repo=epel- source -6&arch=$basearch failovermethod=priority enabled=0 gpgkey= file : ///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6 gpgcheck=1

Then run yum clean all

Yum makecache

Centos7 epel Source

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

[epel] name=ExtraPackages for EnterpriseLinux7-$basearch #baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch mirrorlist=https: //mirrors .fedoraproject.org /metalink ?repo=epel-7&arch=$basearch failovermethod=priority enabled=1 gpgcheck=0 gpgkey= file : ///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 [epel-debuginfo] name=ExtraPackages for EnterpriseLinux7-$basearch-Debug #baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch/debug mirrorlist=https: //mirrors .fedoraproject.org /metalink ?repo=epel-debug-7&arch=$basearch failovermethod=priority enabled=0 gpgkey= file : ///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 gpgcheck=1 [epel- source ] name=ExtraPackages for EnterpriseLinux7-$basearch-Source #baseurl=http://download.fedoraproject.org/pub/epel/7/SRPMS mirrorlist=https: //mirrors .fedoraproject.org /metalink ?repo=epel- source -7&arch=$basearch failovermethod=priority enabled=0 gpgkey= file : ///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 gpgcheck=1

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.