Linux/CentOS6

epel-release

장성한군사 2017. 2. 2. 13:32

Test distribute version : CentOS 6.8 (final)

[root@lux01 ~]# yum repolist

Loaded plugins: fastestmirror, refresh-packagekit, security

Loading mirror speeds from cached hostfile

 * base: ftp.daumkakao.com

 * extras: ftp.nara.wide.ad.jp

 * updates: ftp.tsukuba.wide.ad.jp

repo id                         repo name                                  status

base                            CentOS-6 - Base                            6,696

extras                          CentOS-6 - Extras                             63

updates                         CentOS-6 - Updates                           813

repolist: 7,572


[root@lux01 ~]# rpm -qa epel-release


[root@lux01 ~]# yum list epel-release
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * base: ftp.daumkakao.com
 * extras: ftp.nara.wide.ad.jp
 * updates: ftp.tsukuba.wide.ad.jp
Available Packages
epel-release.noarch                          6-8                           extras



[root@lux01 ~]# yum list epel-release

Loaded plugins: fastestmirror, refresh-packagekit, security

Loading mirror speeds from cached hostfile

 * base: ftp.daumkakao.com

 * extras: ftp.nara.wide.ad.jp

 * updates: ftp.tsukuba.wide.ad.jp

Available Packages

epel-release.noarch                          6-8                           extras

[root@lux01 ~]#

[root@lux01 ~]# yum install epel-release.noarch

Loaded plugins: fastestmirror, refresh-packagekit, security

Setting up Install Process

Loading mirror speeds from cached hostfile

 * base: ftp.daumkakao.com

 * extras: ftp.nara.wide.ad.jp

 * updates: ftp.tsukuba.wide.ad.jp

Resolving Dependencies

--> Running transaction check

---> Package epel-release.noarch 0:6-8 will be installed

--> Finished Dependency Resolution


Dependencies Resolved


====================================================================

 Package                Arch             Version          Repository        Size

====================================================================

Installing:

 epel-release           noarch           6-8              extras            14 k


Transaction Summary

====================================================================

Install       1 Package(s)


Total download size: 14 k

Installed size: 22 k

Is this ok [y/N]: You can install after enter y


You can check epel.repo at /etc/yum.repos.d/epel.repo

[root@lux01 ~]# cat /etc/yum.repos.d/epel.repo

[epel]

name=Extra Packages for Enterprise Linux 6 - $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=Extra Packages for Enterprise Linux 6 - $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=Extra Packages for Enterprise Linux 6 - $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




You can find newer version for epel-release at site http://dl.fedoraproject.org/pub/epel/6/x68_64