OracleLinux9.3 リポジトリーの追加方法
環境
OracleLinux9.3
1.epel repositoryを追加する
# dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm -y
# vi /etc/yum.repos.d/epel.repo
[epel] name=Extra Packages for Enterprise Linux $releasever - $basearch # It is much more secure to use the metalink, but if you wish to use a local mirror # place its address here. #baseurl=https://download.example/pub/epel/$releasever/Everything/$basearch metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-$releasever&arch=$basearch&infra=$infra&content=$contentdir enabled=1 ← リポジトリー有効(0 : リポジトリー無効) priority=10 ← 優先度を1~99の範囲で指定 gpgcheck=1 countme=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8 [epel-debuginfo] name=Extra Packages for Enterprise Linux $releas
2.epel-next repositoryを追加する
# dnf install https://dl.fedoraproject.org/pub/epel/epel-next-release-latest-9.noarch.rpm -y
# vi /etc/yum.repos.d/epel-next.repo
[epel-next] name=Extra Packages for Enterprise Linux $releasever - Next - $basearch # It is much more secure to use the metalink, but if you wish to use a local mirror # place its address here. #baseurl=https://download.example/pub/epel/next/$releasever/Everything/$basearch/ metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-next-$releasever&arch=$basearch&infra=$infra&content=$contentdir enabled=1 ← リポジトリー有効(0 : リポジトリー無効) priority=10 ← 優先度を1~99の範囲で指定 gpgcheck=1 countme=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-$releasever [epel-next-debuginfo] name=Extra Packages for Enterprise Linux $releasever - Next - $basearch - Debug
3. Remi’s RPM repository を追加する
# dnf install https://rpms.remirepo.net/enterprise/remi-release-9.1.rpm -y