EPEL Repository

더쿠·2024년 10월 14일

참고

https://docs.fedoraproject.org/en-US/epel/getting-started/

설명

  • EPEL(Extra Packages for Enterprise Linux) Repository는 CentOS 또는 RHEL(Red Hat Enterprise Linux) 기반의 OS(Rocky, Alma)와 같은 시스템에서 추가 패키지를 제공하는 공식적인 외부 저장소입니다.
  • 패키지 업데이트 정책이 보수적인 RHEL의 Base Repository는 최신 기술이나, 최신 프레임워크 등을 포함하지 않습니다. 이 때 최신 버전의 패키지를 제공하는 EPEL Repository를 사용하여 이를 극복할 수 있습니다.
    예를 들어 nginx, Docker 등 패키지를 설치할 수 있습니다
  • Fedora 프로젝트의 Community 기반으로 관리되기 때문에 실제 서비스에 패키지를 설치하기전에 테스트를 진행하는 것을 권장합니다.

설치 방법

  • 설치는 Rocky 9 Linux에서 진행합니다.

1. 현재 시스템에 EPEL Repository가 설치된 상태인지 확인

dnf repolist all | grep epel
  • 현재 시스템에 EPEL Repository가 없어 명령어의 결과를 출력하지 않습니다.



2. EPEL Repository를 추가

sudo dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
  • 설치는 정상적으로 완료된 것으로 보입니다.

출력

~~~~
  Verifying        : epel-release-9-8.el9.noarch                          1/1

Installed:
  epel-release-9-8.el9.noarch

Complete!



3. EPEL Repository가 정상적으로 추가되었는지 확인

dnf repolist all | grep epel
  • 출력 결과 확인 시 정상적으로 EPEL Repository가 추가되어 사용할 수 있는 상태(enabled)인 것을 확인할 수 있습니다.
    출력
epel                          Extra Packages for Enterprise Linux 9 - x enabled
epel-cisco-openh264           Extra Packages for Enterprise Linux 9 ope enabled
epel-cisco-openh264-debuginfo Extra Packages for Enterprise Linux 9 ope disabled
epel-cisco-openh264-source    Extra Packages for Enterprise Linux 9 ope disabled
epel-debuginfo                Extra Packages for Enterprise Linux 9 - x disabled
epel-source                   Extra Packages for Enterprise Linux 9 - x disabled
epel-testing                  Extra Packages for Enterprise Linux 9 - T disabled
epel-testing-debuginfo        Extra Packages for Enterprise Linux 9 - T disabled
epel-testing-source           Extra Packages for Enterprise Linux 9 - T disabled
profile
궁금한게 많은 사람

0개의 댓글