Skip to main content

Software-only Installation of oracle Database 19c for Upgrade


Oracle Database 19c is a multi-model database that provides full support for relational and non-relational data, such as JSON, XML, text, spatial and graph data. There are lots of new features available in this new release like partitioned hybrid tables, encryption capabilities in the built-in data dictionary, statistics-only queries and many more. It also enables Oracle’s Autonomous Database Cloud Services. This article describes the installation of Oracle Database 19c (19.3) 64-bit on Red Hat 8 64-bit.

When you plan to upgrade from 12c to 19c that means, you have already some configuration when you install 12c. So, this software-only installation will be minimal.

Lab Environment

Server MachineWork Station or Client Machine
OS ReleaseRed Hat Enterprise Linux release 8.4 (Ootpa)Red Hat Enterprise Linux release 8.4 (Ootpa)
Oracle Release19.3Oracle SQL Developer Version
IP Address192.168.1.10192.168.1.20
Host NameServerClient
User NameAdmin, oracleUser
Table 01: Lab Environment

Step 1: Download Software

Go to the below office site.

And Download the following version. As of date Tue Aug 3 13:01:35 +06 2023, the latest version of Oracle Database for Red Hat is:

Oracle Database 19c (19.3) for Linux x86-64

Step 2: Install Dependent Package

At first, manually install some basic prerequisite rpm that will suppress future conflicts:

[Admin@Server ~]$ sudo dnf install -y unixODBC unixODBC-devel libnsl libnsl.i686 libnsl2 libnsl2.i686

May you not find the following RPM packages in the local repository.


So, download these RPMs from the rpm finder:

[Admin@Server ~]$ sudo wget
[Admin@Server ~]$ sudo wget

And then install:

[Admin@Server ~]$ sudo dnf -y localinstall compat-libcap1-1.10-7.el7.x86_64.rpm
[Admin@Server ~]$ sudo dnf -y localinstall compat-libstdc++-33-3.2.3-72.el7.x86_64.rpm

Step 3: Install Oracle 19c Prerequisite Package

To perform all our prerequisite setup automatically, we need to install the oracle-provided “oracle-database-preinstall-19c” package. By default, this package is not present in the Red Hat repository list.
To download this rpm, run the following command:

[Admin@Server ~]$ curl -o oracle-database-preinstall-19c-1.0-1.el7.x86_64.rpm

And then install as follows:

[Admin@Server ~]$ sudo dnf -y localinstall oracle-database-preinstall-19c-1.0-1.el7.x86_64.rpm

Step 4: Create Database Installation Directory

In this tutorial, we will use different directories for each type of database file.

Note:Do not put the oraInventory directory under the Oracle base directory for a new installation, because that can result in user permission errors for other installations.

[oracle@Server ~]$ sudo mkdir -p /u01/app/oracle/product/19c/db_1

Step 5: Unzip and Suppress the OS Version Error

[oracle@Server ~]$ unzip /tmp/ -d /u01/app/oracle/product/19c/db_1

We may receive the following error when installing Oracle database 19c Installer on Red Hat 8 (64-bit) platform:

[INS-13001] Oracle Database is not supported on this operating system. The installer will not perform prerequisite checks on the system.

To suppress this error change the distribution id to OLE8 in “cvu_config” file as:

[oracle@Server ~]$ sed -i 's/#CV_ASSUME_DISTID=OEL5/CV_ASSUME_DISTID=OEL8/' /u01/app/oracle/product/19c/db_1/cv/admin/cvu_config

Step 6: Installation Oracle Database

For 19c Database:
[oracle@Server ~]$ source /u01/app/oracle/env/scripts/
[oracle@Server ~]$ echo $ORACLE_BASE
[oracle@Server ~]$ echo $ORACLE_HOME

Go to the ORACLE_HOME directory and start the Oracle Universal Install (OUI) interactively by issuing the following command. If you want to run this installer silently then check this link.

[oracle@Server ~]$ bash /u01/app/oracle/product/19c/db_1/runInstaller

In this installation process, we will create and configure an Oracle Database Enterprise Edition Server. For RAC and Upgrade installation choose ‘Set UP Software Only’. The Server Class option for a production data center allows for more advanced configuration options such as Oracle RAC, ASM, RMAN, integration with OEM, etc.

Choose the following option for this installation process:

Response File:


Execution of

[Admin@Server ~]$ sudo /u01/app/oracle/product/19c/db_1/

Performing root user operation.

The following environment variables are set as:

    ORACLE_OWNER= oracle

    ORACLE_HOME=  /u01/app/oracle/product/19c/db_1

Enter the full pathname of the local bin directory: [/usr/local/bin]: 

The contents of "dbhome" have not changed. No need to overwrite.

The file "oraenv" already exists in /usr/local/bin.  Overwrite it? (y/n) 

[n]: y

   Copying oraenv to /usr/local/bin ...

The file "coraenv" already exists in /usr/local/bin.  Overwrite it? (y/n) 

[n]: y

   Copying coraenv to /usr/local/bin ...

Entries will be added to the /etc/oratab file as needed by

Database Configuration Assistant when a database is created

Finished running generic part of root script.

Now product-specific root actions will be performed.

Oracle Trace File Analyzer (TFA - Standalone Mode) is available at :


Note :

1. tfactl will use TFA Service if that service is running and user has been granted access

2. tfactl will configure TFA Standalone Mode only if user has no access to TFA Service or TFA is not installed

ok -> Exit.


This tutorial follows the official docs as reference Database Installation Guide for Linux.


Popular posts from this blog

Upgrading Issue for RHEL 7 to 8 With Leapp

Overview The Leapp utility is a framework for updating and upgrading operating systems as well as applications. The operations of this utility consist of two phases 1. the preupgrade Phase – that chack the upgrade possibilities and 2. the actual upgrade phase – that map packages between previous and current versions of the software packages. Issue – 01: After running ‘ sudo leapp preupgrade ‘ sometimes you find the below issue in ‘ /var/log/leapp/leapp-report.txt ‘. Detail: Risk Factor: high (inhibitor) Title: Leapp detected loaded kernel drivers which have been removed in RHEL 8. Upgrade cannot proceed. Summary: Support for the following RHEL 7 device drivers has been removed in RHEL 8: – pata_acpi Key: f08a07da902958defa4f5c2699fae9ec2eb67c5b Remediation: 1. Disable detected kernel drivers in order to proceed with the upgrade process using the rmmod or modprobe -r . rmmod – Simple program to remove a module from the Linux Kernel modprobe – Add and remove modules from the Linux Ke

Upgrading Oracle Linux 6 to 7

Overview It is possible to upgrade an Oracle Linux 6 system to Oracle Linux 7.6 under the following conditions: The system meets the minimum installation requirements for Oracle Linux 7 as described in Chapter 1, System Requirements and Limits. The Oracle Linux 6 system has been completely updated from the ol6_x86_64_latest channel or ol6_latest repository. UEK R3 or UEK R4 has been installed on the system to be upgraded and is the default boot kernel. Upgrading from UEK R2 is not supported. Note that the system is upgraded to use the UEK R5 release provided with Oracle Linux 7.6. Upgrading is supported only for systems that are installed with the Minimal Install base environment. If additional packages are installed from an alternative repository or channel, upgrade might fail or the resulting upgrade might not function as expected. reference: Verifying the system before Upgrade: #

Software-only Installation of oracle Database 21c on RHEL 8

Overview Oracle Database 21c is a multi-model database that provides full support for relational and non-relational data, such as JSON, XML, text, spatial and graph data. There are lots of new features available in this new release like partitioned hybrid tables, encryption capabilities in the built-in data dictionary, statistics-only queries, and many more. It also enables Oracle's Autonomous Database Cloud Services. This article describes the installation of Oracle Database 21c 64-bit on Red Hat 8 64-bit. Lab Environment Particulars                                     Database Info --------------                                            ------------------------------------------------------- OS Release                                     Red Hat Enterprise Linux release 8.4 (Ootpa) Kernel                                              4.18.0-425.10.1.el8_7.x86_64 IP Address                                     1 Host Name                                  oemsrv User Na