super newbie here. Trying to learn DBA stuff.

I've been trying to install oracle database 18c on Oracle Linux 8 but there are two missing packages that are just not being found. I need these to complete the installation properly:

 nothing provides compat-libcap1 needed by oracle-database-preinstall-18c-1.0-1.el7.x86_64
- nothing provides compat-libstdc++-33 needed by oracle-database-preinstall-18c-1.0-1.el7.x86_64

These two commands do not work.

rpm -ivh compat-libstdc++-33-3.2.3-72.el7.x86_64.rpm

rpm -ivh compat-libcap1-1.10-7.el7.x86_64.rpm

I've looked a lot online. Thanks in advance.

2 Answers 2


You want to install the "oracle-database-preinstall-18c" package, using the "yum" utility as root. That will load all of your dependencies for you:

[root@orcl1 ~]# yum search oracle-database-preinstall-18c
Loaded plugins: langpacks, ulninfo
================================================================== N/S matched: oracle-database-preinstall-18c ===================================================================
oracle-database-preinstall-18c.x86_64 : Sets the system for Oracle Database single instance and Real Application Cluster install for Oracle Linux 7

[root@orcl1 ~]# yum install oracle-database-preinstall-18c
Resolving Dependencies
--> Running transaction check
---> Package oracle-database-preinstall-18c.x86_64 0:1.0-1.el7 will be installed
--> Processing Dependency: compat-libstdc++-33 for package: oracle-database-preinstall-18c-1.0-1.el7.x86_64
--> Running transaction check
---> Package compat-libstdc++-33.x86_64 0:3.2.3-72.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

 Package                                                   Arch                              Version                                  Repository                             Size
 oracle-database-preinstall-18c                            x86_64                            1.0-1.el7                                ol7_latest                             18 k
Installing for dependencies:
 compat-libstdc++-33                                       x86_64                            3.2.3-72.el7                             ol7_latest                            190 k

Transaction Summary
Install  1 Package (+1 Dependent package)

Total download size: 208 k
Installed size: 866 k
Is this ok [y/d/N]:

It should be noted that Oracle 18c isn't supported on Oracle Linux 8; ideally you should be using Oracle Linux 7. See these articles for install steps and guidelines:

  • With Oracle 19c on RHEL 8.4, I was able solve the same problem by "yum localinstall" the CentOS 7 packages after grabbing them with: wget mirror.centos.org/centos/7/os/x86_64/Packages/… mirror.centos.org/centos/7/os/x86_64/Packages/…
    – kjpires
    Nov 10, 2021 at 16:16
  • Technically that's a work-around hack, not a supported solution, even if it appears to work. Oracle doesn't support 18c on OL8 or RHEL8. Working with/developing on unsupported configurations is unwise on a number of levels, especially for a newbie.
    – pmdba
    Nov 10, 2021 at 19:48
  • According to Oracle, RHEL 8 is supported by Oracle 19c (see docs.oracle.com/en/database/oracle/oracle-database/19/ladbi/…), but these packages aren't listed in the required packages list (although "libstdc++" is). I think the optional RHEL 7 repos do have these libraries in them, but I couldn't find them in the option RHEL 8 repos (partly because there are so many of them now)!
    – kjpires
    Nov 11, 2021 at 16:13
  • The question was specific to 18c, not 19c. 18c is not supported.
    – pmdba
    Nov 12, 2021 at 15:43
  • This is true and why I prefaced my original comment "With Oracle 19c ... solve the same problem..." I wanted to leave information for someone who was having a similar problem with Oracle 19c since this answer was useful in that case as well. (I'm just trying to be helpful, but I can remove my comments if you feel that they are unuseful to others who have the same problem as I did.)
    – kjpires
    Nov 12, 2021 at 18:50

18c is not supported on OL8.

The oracle-database-preinstall-18c package does not exist in the OL8 repository.

compat-libcap1 and compat-libstdc++-33 packages also do not exist in OL8 repository.

Whatever instructions you followed to get here were not completely correct.

Use OL6 or OL7 for 18c.

You said you were a super newbie, you should start with stuff that works as expected.

Oracle Database 18c Installation On Oracle Linux 6 (OL6) and 7 (OL7)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.