How to Install Oracle 19c Software Only with Silent Mode

With Response File

First of all, let's take a look at the content of the response file.

[oracle@primary-19c ~]$ ll db-19c-software-only-installation.rsp
-rwx------ 1 oracle oinstall 605 Aug  1 10:24 db-19c-software-only-installation.rsp
[oracle@primary-19c ~]$ cat db-19c-software-only-installation.rsp
oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v19.0.0
oracle.install.option=INSTALL_DB_SWONLY
UNIX_GROUP_NAME=oinstall
INVENTORY_LOCATION=/u01/app/oraInventory
ORACLE_BASE=/u01/app/oracle
oracle.install.db.InstallEdition=EE
oracle.install.db.OSDBA_GROUP=dba
oracle.install.db.OSOPER_GROUP=oper
oracle.install.db.OSBACKUPDBA_GROUP=backupdba
oracle.install.db.OSDGDBA_GROUP=dgdba
oracle.install.db.OSKMDBA_GROUP=kmdba
oracle.install.db.OSRACDBA_GROUP=racdba
oracle.install.db.rootconfig.executeRootScript=true
oracle.install.db.rootconfig.configMethod=ROOT

Next, install Oracle 19c software with silent mode and I assume that you have set ORACLE_SID.

[oracle@primary-19c ~]$ $ORACLE_HOME/runInstaller -silent -noconfig -responseFile /home/oracle/db-19c-software-only-installation.rsp
Launching Oracle Database Setup Wizard...


 Enter password for 'root' user:
The response file for this session can be found at:
 /u01/app/oracle/product/19.0.0/dbhome_1/install/response/db_2019-08-01_10-32-36AM.rsp

You can find the log of this install session at:
 /tmp/InstallActions2019-08-08_07-32-36PM/installActions2019-08-01_10-32-36AM.log
Successfully Setup Software.
Moved the install session logs to:
 /u01/app/oraInventory/logs/InstallActions2019-08-01_10-32-36AM

Please note that, with -noconfig, OUI will ignore any configurations related to database creation.

Without Response File

Without response file, we have to put all arguments in the command line.

[oracle@primary-19c ~]$ $ORACLE_HOME/runInstaller -silent -noconfig oracle.install.option=INSTALL_DB_SWONLY UNIX_GROUP_NAME=oinstall INVENTORY_LOCATION=/u01/app/oraInventory ORACLE_BASE=/u01/app/oracle oracle.install.db.InstallEdition=EE oracle.install.db.OSDBA_GROUP=dba oracle.install.db.OSOPER_GROUP=oper oracle.install.db.OSBACKUPDBA_GROUP=backupdba oracle.install.db.OSDGDBA_GROUP=dgdba oracle.install.db.OSKMDBA_GROUP=kmdba oracle.install.db.OSRACDBA_GROUP=racdba oracle.install.db.rootconfig.executeRootScript=true oracle.install.db.rootconfig.configMethod=ROOT
Launching Oracle Database Setup Wizard...


 Enter password for 'root' user:
The response file for this session can be found at:
 /u01/app/oracle/product/19.0.0/dbhome_1/install/response/db_2019-08-01_10-50-17AM.rsp

You can find the log of this install session at:
 /tmp/InstallActions2019-08-08_07-50-17PM/installActions2019-08-01_10-50-17AM.log
Successfully Setup Software.
Moved the install session logs to:
 /u01/app/oraInventory/logs/InstallActions2019-08-01_10-50-17AM

The only information I need to provide is the root password in order to run orainstRoot.sh and root.sh automatically during post-installation.

Next, you may be interested in How to Create a 19c Database by DBCA with Silent Mode.

4 thoughts on “How to Install Oracle 19c Software Only with Silent Mode”

    1. Good point! Since the absolute location of runInstaller may vary from one case to anther, so I use $ORACLE_HOME to indicate the relative path of the file, which can never fail us to execute it in any case.

      And OK, I’ll mention it in the post. Thanks for your comment.

Leave a Reply

Your email address will not be published. Required fields are marked *