Enabling OL7 Yum Public Repo for CentOS/Red-Hat
The Tutorial shows you Step-by-Step How to Enable the Oracle YUM Public Repository on CentOS/Red-Hat Enterprise Linux 7 i686/x8664.
The Oracle public yum server offers a free and convenient way to install the latest Oracle Linux packages as well as packages from the Oracle VM installation media via a yum client.
-
Open a Command Line Terminal Window or Shell.
-
Install the Oracle YUM Repo GPG Key
su
wget http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol7 -O /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
-
Download the Needed Oracle Repo
cd /etc/yum.repos.d/
wget http://public-yum.oracle.com/public-yum-ol7.repo