epel (リポジトリ)のインストール

epelとは

  • Extra Packages for Enterprise Linuxの略
  • 標準のリポジトリでは提供されない追加パッケージセットが含まれている

yumを使ったインストール

[root@localhost ~]# yum install epel-release
Last metadata expiration check: 1:23:09 ago on Fri Aug 16 13:04:00 2024.
Dependencies resolved.
==============================================================================================
 Package                   Architecture        Version              Repository           Size
==============================================================================================
Installing:
 epel-release              noarch              9-7.el9              extras               19 k

Transaction Summary
==============================================================================================
Install  1 Package

Total download size: 19 k
Installed size: 26 k
Is this ok [y/N]: y
Downloading Packages:
epel-release-9-7.el9.noarch.rpm                                17 kB/s |  19 kB     00:01    
----------------------------------------------------------------------------------------------
Total                                                          10 kB/s |  19 kB     00:01     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                      1/1 
  Installing       : epel-release-9-7.el9.noarch                                          1/1 
  Running scriptlet: epel-release-9-7.el9.noarch                                          1/1 
Many EPEL packages require the CodeReady Builder (CRB) repository.
It is recommended that you run /usr/bin/crb enable to enable the CRB repository.

  Verifying        : epel-release-9-7.el9.noarch                                          1/1 

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

Complete!

yumでインストールしたリポジトリの確認

[root@localhost ~]# yum repolist all
repo id                       repo name                                               status
appstream                     Rocky Linux 9 - AppStream                               enabled
appstream-debuginfo           Rocky Linux 9 - AppStream - Debug                       disabled
appstream-source              Rocky Linux 9 - AppStream - Source                      disabled
baseos                        Rocky Linux 9 - BaseOS                                  enabled
...
epel                          Extra Packages for Enterprise Linux 9 - x86_64          enabled
epel-cisco-openh264           Extra Packages for Enterprise Linux 9 openh264 (From Ci enabled
epel-cisco-openh264-debuginfo Extra Packages for Enterprise Linux 9 openh264 (From Ci disabled
epel-cisco-openh264-source    Extra Packages for Enterprise Linux 9 openh264 (From Ci disabled
...