Oracle 19c can be installed on Oracle Linux using an RPM. This article describes the RPM installation of Oracle Database 19c 64-bit on Oracle Linux 7 (OL7) 64-bit. 

The naming convention for RPM packages is name–version–release.architecture.rpm.

Installing Oracle Database RPM Manually
Login as Root and Download and install the Oracle Preinstallation RPM

[root@oracle19c sw]# curl -o oracle-database-preinstall-18c-1.0-1.el7.x86_64.rpm
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 18244  100 18244    0     0  85585      0 --:--:-- --:--:-- --:--:-- 85652

[root@oracle19c sw]# yum -y localinstall oracle-database-preinstall-18c-1.0-1.el7.x86_64.rpm
Loaded plugins: langpacks, ulninfo
Examining oracle-database-preinstall-18c-1.0-1.el7.x86_64.rpm: oracle-database-preinstall-18c-1.0-1.el7.x86_64
oracle-database-preinstall-18c-1.0-1.el7.x86_64.rpm: does not update installed package.
Nothing to do

Download the .rpm file from Oracle Technology Network required for performing an RPM-based installation to a directory of your choice. For example, download oracle-database-ee-19c-1.0-1.x86_64.rpm file to the /u01/sw directory. Install the database software using the yum localinstall command.

[root@oracle19c sw]# yum -y localinstall oracle-database-ee-19c-1.0-1.x86_64.rpm
Loaded plugins: langpacks, ulninfo
Examining oracle-database-ee-19c-1.0-1.x86_64.rpm: oracle-database-ee-19c-1.0-1.x86_64
Marking oracle-database-ee-19c-1.0-1.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package oracle-database-ee-19c.x86_64 0:1.0-1 will be installed
--> Processing Dependency: oracle-database-preinstall-19c for package: oracle-database-ee-19c-1.0-1.x86_64
ol7_UEKR5                                                                                                                                                             | 1.2 kB  00:00:00
ol7_latest                                                                                                                                                            | 1.4 kB  00:00:00
--> Running transaction check
---> Package oracle-database-preinstall-19c.x86_64 0:1.0-1.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

 Package                                                Arch                           Version                            Repository                                                    Size
 oracle-database-ee-19c                                 x86_64                         1.0-1                              /oracle-database-ee-19c-1.0-1.x86_64                         6.9 G
Installing for dependencies:
 oracle-database-preinstall-19c                         x86_64                         1.0-1.el7                          ol7_latest                                                    18 k

Transaction Summary
Install  1 Package (+1 Dependent package)

Total size: 6.9 G
Total download size: 18 k
Installed size: 6.9 G
Downloading packages:
warning: /var/cache/yum/x86_64/7Server/ol7_latest/packages/oracle-database-preinstall-19c-1.0-1.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY|    0 B  --:--:-- ETA
Public key for oracle-database-preinstall-19c-1.0-1.el7.x86_64.rpm is not installed
oracle-database-preinstall-19c-1.0-1.el7.x86_64.rpm                                                                                                                   |  18 kB  00:00:03
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
Importing GPG key 0xEC551F03:
 Userid     : "Oracle OSS group (Open Source Software group) "
 Fingerprint: 4214 4123 fecf c55b 9086 313d 72f9 7b74 ec55 1f03
 Package    : 7:oraclelinux-release-7.6-1.0.15.el7.x86_64 (@anaconda/7.6)
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
  Installing : oracle-database-preinstall-19c-1.0-1.el7.x86_64                                                                                                                           1/2
  Installing : oracle-database-ee-19c-1.0-1.x86_64                                                                                                                                       2/2
[INFO] Executing post installation scripts...
[INFO] Oracle home installed successfully and ready to be configured.
To configure a sample Oracle Database you can execute the following service configuration script as root: /etc/init.d/oracledb_ORCLCDB-19c configure
  Verifying  : oracle-database-preinstall-19c-1.0-1.el7.x86_64                                                                                                                           1/2
  Verifying  : oracle-database-ee-19c-1.0-1.x86_64                                                                                                                                       2/2

  oracle-database-ee-19c.x86_64 0:1.0-1

Dependency Installed:
  oracle-database-preinstall-19c.x86_64 0:1.0-1.el7

[root@oracle19c sw]#

The installation of Oracle Database software is now complete. In the next article, we can configure sample database with default listener.

Thank you for giving your valuable time to read the above information.

If you want to be updated with all our articles send us the Invitation or Follow us:

Telegram Channel:

Skant Gupta’s LinkedIn:

Joel Perez’s LinkedIn: Joel Perez’s Profile

LinkedIn Group: Oracle Cloud DBAAS

Facebook Page: OracleHelp

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.