A technical troubleshooting blog about Oracle with other Databases & Cloud Technologies.

Installing Oracle Database 19c on Oracle Linux 8!!

1 min read

Database release 19.7, has finally attained certification for Oracle Linux 8. However, successful installation may necessitate some workarounds.

Begin by installing the Oracle Validated rpm from the ol8_UEKR6 repository:

yum install oracle-database-preinstall-19c

Despite the upgrades and certifications, there are still a couple of hurdles to contend with.

First, the installer will refuse to run because it doesn’t recognize the operating system. There is no switch on runInstaller that I can find to avoid this, but there is an easy workaround:

export CV_ASSUME_DISTID=OL7

Second, it will throw a warning about a missing rpm, compat-libcap1-1.10, which you can of course ignore but it is nice to have an install run cleanly.

The problem seems to be that this package is missing from the OL8 repos. No problem – you can grap it from a Linux 7 repo:

wget http://mirror.centos.org/centos/7/os/x86_64/Packages/compat-libcap1-1.10-7.el7.x86_64.rpm
yum localinstall compat-libcap1-1.10-7.el7.x86_64.rpm

Now, the installation proceeds smoothly without any warnings, allowing you to progress with applying the latest Release Update (RU).