From 19c Oracle can be installed on Oracle Linux OS using an RPM. In this article we’ll perform an RPM installation of Oracle Database 19c 64-bit on Oracle Linux 7 (OL7) 64-bit.
Step 1: Download the RPM from OTN
Download the oracle-database-ee-19c-1.0-1.x86_64.rpm file from Oracle Technology Network required for performing an RPM-based installation to a directory of your choice.
Step 2: Install it using YUM
Once downloaded, move the rpm file to a directory of your choice and then install the package using yum as shown below:
[root@oracle19c ]# 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
=============================================================================================================================================================================================
Installing:
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
Installed:
oracle-database-ee-19c.x86_64 0:1.0-1
Dependency Installed:
oracle-database-preinstall-19c.x86_64 0:1.0-1.el7
Complete!
[root@oracle19c]#
That is it, Oracle Software is now Installed and you can now create the database.