Oracle

找不到失去的軟體包 Oracle Linux 8

  • July 22, 2020

超級新手在這裡。嘗試學習 DBA 的東西。

我一直在嘗試在 Oracle Linux 8 上安裝 oracle 數據庫 18c,但有兩個缺少的軟體包只是找不到。我需要這些才能正確完成安裝:

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

這兩個命令不起作用。

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

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

我在網上看了很多。提前致謝。

您想以 root 身份使用“yum”實用程序安裝“oracle-database-preinstall-18c”包。這將為您載入所有依賴項:

[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
==================================================================================================================================================================================
Installing:
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]:

需要注意的是,Oracle Linux 8 不支持 Oracle 18c;理想情況下,您應該使用 Oracle Linux 7。有關安裝步驟和指南,請參閱這些文章:

引用自:https://dba.stackexchange.com/questions/271421