Oracle 19c Client install on Rhel 8.4
search cancel

Oracle 19c Client install on Rhel 8.4

book

Article ID: 223994

calendar_today

Updated On:

Products

Data Loss Prevention Oracle Standard Edition 2

Issue/Introduction

Unable to install oracle 19c client on RHEL 8

Resolution

you will need at least these two packages (or similar)

dnf install -y unzip vim

 

Double check your version of RHEL

cat /etc/redhat-release
Red Hat Enterprise Linux release 8.4 (Ootpa)

 

Install the following Oracle Pre-reqs


dnf install bc binutils elfutils-libelf elfutils-libelf-devel fontconfig-devel glibc glibc-devel ksh libaio libaio-devel libXrender libX11 libXau libXi libXtst libgcc libnsl librdmacm libstdc++ libstdc++-devel libxcb libibverbs make policycoreutils policycoreutils-python-utils smartmontools sysstat 

 

create the necessary user and group recommended by oracle

groupadd -g 54321 oinstall
groupadd -g 54322 dba
useradd -u 54321 -g oinstall -G dba oracle

 

create the necessary folder structure and set ownership

mkdir -p /opt/oracle/product/19.0.0/client_1
chown -R oracle:oinstall /opt/oracle
mkdir /opt/oraInventory
chown oracle:oinstall /opt/oraInventory

 

Log in as the oracle user

su - oracle

Unzip the Oracle client files

unzip -q /tmp/LINUX.X64_193000_client_home.zip -d /opt/oracle/product/19.0.0/client_1

 

Modify the response file (for headless install)


vim /opt/oracle/product/19.0.0/client_1/inventory/response/client_install.rsp
#-------------------------------------------------------------------------------
# Unix group to be set for the inventory directory.
#-------------------------------------------------------------------------------
UNIX_GROUP_NAME=oinstall
#-------------------------------------------------------------------------------
# Inventory location.
#-------------------------------------------------------------------------------
INVENTORY_LOCATION=/opt/oraInventory
#-------------------------------------------------------------------------------
# Complete path of the Oracle Home
#-------------------------------------------------------------------------------
ORACLE_HOME=/opt/oracle/product/19.0.0/client_1
#-------------------------------------------------------------------------------
# Complete path of the Oracle Base.
#-------------------------------------------------------------------------------
ORACLE_BASE= /opt/oracle
#------------------------------------------------------------------------------
#Name       : INSTALL_TYPE
#Datatype   : String
#Description: Installation type of the component.
#
#             The following choices are available. The value should contain
#             only one of these choices.
#               - Administrator
#               - Runtime
#               - InstantClient
#               - Custom
#
#Example    : INSTALL_TYPE = Administrator
#------------------------------------------------------------------------------
oracle.install.client.installType=Administrator

 

Optional: if you get the oracle error: INS-08101 run the following command and re-run the installer

export CV_ASSUME_DISTID=OEL8.1

Run the installer

/opt/oracle/product/19.0.0/client_1/runInstaller -silent -waitForCompletion -responseFile /opt/oracle/product/19.0.0/client_1/inventory/response/client_install.rsp