How to install and get packages from Oracle EPEL Repository on OEL 7
1. Create a repo file
[root@funebs122 ~]# cat /etc/yum.repos.d/epel-yum-ol7.repo
[ol7_epel]
name=Oracle Linux $releasever EPEL ($basearch)
baseurl=http://yum.oracle.com/repo/OracleLinux/OL7/developer_EPEL/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1
2. Run Below Command to Validate
[root@funebs122 ~]# yum repolist
Loaded plugins: langpacks, ulninfo
ol7_epel | 3.6 kB 00:00:00
(1/3): ol7_epel/x86_64/group_gz | 88 kB 00:00:45
(2/3): ol7_epel/x86_64/updateinfo | 772 kB 00:00:47
(3/3): ol7_epel/x86_64/primary_db | 16 MB 00:00:11
repo id repo name status
ol7_UEKR5/x86_64 Latest Unbreakable Enterprise Kernel Release 5 for Oracle Linux 7Server (x86_64) 821
ol7_addons/x86_64 Oracle Linux 7Server Add ons (x86_64) 709
ol7_epel/x86_64 Oracle Linux 7Server EPEL (x86_64) 44,213
ol7_latest/x86_64 Oracle Linux 7Server Latest (x86_64) 24,912
repolist: 70,655
On Linux 8 use below to install.
sudo dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
Post a Comment
Post a Comment