CentOS에서 EPEL 추가하기

EPEL은 Extra Packages for Enterprise Linux 의 약자다.
CentOS 에서 yum을 통해 좀 더 많은 패키지를 설치하고자 한다면 repo 리스트에 추가하면 된다.
EPEL과 관련된 자세한 내용은 아래 주소에서 참고하면 된다.
http://fedoraproject.org/wiki/EPEL

먼저 현재 설치된 repo 리스트를 확인해 보도록 하자.

[root@localhost byjjoon]# yum repolist
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos.tt.co.kr
 * extras: centos.tt.co.kr
 * updates: centos.tt.co.kr
repo id                                repo name                                status
base                                   CentOS-6 - Base                           4,686
extras                                 CentOS-6 - Extras                             3
updates                                CentOS-6 - Updates                          934
repolist: 5,623

이제 EPEL을 설치하도록 하자. 아래와 같이 설치할 수 있으며 설치할 rpm 파일은 http://fedoraproject.org/wiki/EPEL 페이지에서 최신 링크를 확인해 설치하도록 하자. 이 글을 작성하는 현재는 최신이 6.5 버전이다.

[root@localhost byjjoon]# rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-5.noarch.rpm
Retrieving http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-5.noarch.rpm
warning: /var/tmp/rpm-tmp.W54ycu: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY
Preparing...                ########################################### [100%]
   1:epel-release           ########################################### [100%]

설치를 하였으면 이제 다시 repo 리스트를 확인하면 EPEL이 추가되었음을 알 수 있다.

[root@localhost byjjoon]# yum repolist
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
epel/metalink                                                                                                                                               | 5.7 kB     00:00     
 * base: centos.tt.co.kr
 * epel: mirror01.idc.hinet.net
 * extras: centos.tt.co.kr
 * updates: centos.tt.co.kr
epel                                                                                                                                                        | 4.3 kB     00:00     
epel/primary_db                                                                                                                                             | 3.6 MB     00:04     
repo id                                repo name                                               status
base                                   CentOS-6 - Base                                          4,686
epel                                   Extra Packages for Enterprise Linux 6 - i386             5,508
extras                                 CentOS-6 - Extras                                            3
updates                                CentOS-6 - Updates                                         934
repolist: 11,131

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다