Aug 11, 2025

Install Oracle Client 19c Full Linux (Silent with response file)

 

 Download zip from: https://www.oracle.com/es/database/technologies/oracle19c-linux-downloads.html

 

Copy file to the server and Create user and oracle groups:

 

sudo su -

groupadd   oinstall
groupadd   asmdba
groupadd   dba
groupadd   dbaoper 
groupadd oper

 [opc@test tmp]$ id oracle
uid=101(oracle) gid=1005(oinstall) groups=1005(oinstall),1006(asmdba),1007(dba),1008(dbaoper),1009(oper)

Create the directories:

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

 

Unzip the Oracle client ZIP (with oracle user):

cd /tmp
mkdir cliente_oracle
mv LINUX.X64_193000_client.zip cliente_oracle
cd cliente_oracle
unzip LINUX.X64_193000_client.zip

 

Edit the response file (with oracle user):


cd /tmp/cliente_oracle/client 

vi response/client_install.rsp 

 # Edit this variables on client_install.rsp file :

UNIX_GROUP_NAME=oinstall
INVENTORY_LOCATION=/u01/app/oraInventory
ORACLE_HOME=/u01/app/oracle/product/19.0.0/client_1
ORACLE_BASE=/u01/app/oracle
oracle.install.client.installType=Administrator 

 

Execute the run installer with silent parameter (with oracle):

./runInstaller -silent -responseFile /tmp/cliente_oracle/client/response/client_install.rsp 

After some minutes execute the /u01/app/oraInventory/orainstRoot.sh with root user

After add this export to $HOME/bash_profile

export ORACLE_HOME=/u01/app/oracle/product/19.0.0/client_1
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
export PATH=$PATH:$ORACLE_HOME/bin

 

Execute some test:

sqlplus /nolog

SQL> connect sys/xxxxxx@xx.xx.xx.xx:1521/<<db_name>>

 

Possible issues:

1.- # error from runinstaller:
[oracle@test client]$ The java.library.path system variable is missing or invalid. Please set java.library.path with a correct value and retry the operation.
Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class oracle.sysman.oii.oiip.oiipg.OiipgPropertyLoader

# Workaround like a root user
yum install libnsl.x86_64 

 

 2.- # from runinstaller
 [WARNING] [INS-08101] Unexpected error while executing the action at state: 'clientSupportedOSCheck'
   CAUSE: No additional information available.
   ACTION: Contact Oracle Support Services or refer to the software manual.
   SUMMARY:
       - java.lang.NullPointerException

# execute this export and try again runinstallr
export CV_ASSUME_DISTID=OEL7.6