Strive for IT Excellence

How can I convert an RHEL or RHEL-compatible system to Oracle Linux using public-yum?

Oracle Linux is binary compatible with Red Hat Linux, meaning that all your applications should continue to work without any issue; system libraries are unaffected by the conversion. Nevertheless, it goes without saying that you should make a full backup of your server and know how to restore it before beginning any conversion activities.

Once you've got your backup safely stored away (but close at hand in case of emergency!), you can easily convert from RHEL to Oracle Linux from the public-yum server. Download and verify the Oracle Linux GPG Key that best matches your RHEL-compatible release and then follow the Getting Started instructions beginning with step 2.

Red Hat Enterprise Linux 4, Update 6 or Compatible

# wget http://public-yum.oracle.com/RPM-GPG-KEY-oracle-el4 -O /usr/share/rhn/RPM-GPG-KEY-oracle

# gpg --quiet --with-fingerprint /usr/share/rhn/RPM-GPG-KEY-oracle

pub 1024D/B38A8516 2006-09-05 Oracle OSS group (Open Source Software group) <build@oss.oracle.com>

Key fingerprint = 1122 A29A B257 825F 322C 234E 2E2B CDBC B38A 8516

sub 2048g/0042D4F4 2006-09-05 [expires: 2011-09-04]

Red Hat Enterprise Linux 5 or Compatible

# wget http://public-yum.oracle.com/RPM-GPG-KEY-oracle-el5 -O /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle

# gpg --quiet --with-fingerprint /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle

pub 1024D/1E5E0159 2007-05-18 Oracle OSS group (Open Source Software group) <build@oss.oracle.com>

Key fingerprint = 99FD 2766 28EE DECB 5E5A F5F8 66CE D3DE 1E5E 0159

sub 1024g/D303656F 2007-05-18 [expires: 2015-05-16]

Red Hat Enterprise Linux 6 or Compatible

# wget http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6 -O /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle

pub 2048R/EC551F03 2010-07-01 Oracle OSS group (Open Source Software group) <build@oss.oracle.com>

Key fingerprint = 4214 4123 FECF C55B 9086 313D 72F9 7B74 EC55 1F03

  1. For RHEL systems start with step 2 in the getting started instructions found at the following link:

https://public-yum.oracle.com/getting-started.html

dcVast offers expert support services for Oracle, including Oracle Database, Oracle Solaris, Oracle Linux, and Oracle Cloud. With our managed Oracle services, our experienced team takes over the day-to-day support activities for these Oracle products. We handle both the routine support tasks and the problem-solving when unexpected problems occur. By relying on our resources to take care of the Oracle solutions you have in place to handle your existing needs, your own resources are freed up to focus on planning for your future business needs. Contact us to learn how to leverage our Oracle expertise to keep your technology and your business running smoothly.