Oracle database client silent installation without response file

March 6, 2015 by 4 Comments 

I’m often asked questions on Oracle database or client software installation in Silent Mode with using response file. I used to do it in the past but not anymore. The silent software installation with Oracle response file is still available but I found another handy option in Oracle 11g/12c of doing the same. The same silent installation can be done directly from the command prompt without using an Oracle response file but it requires a minimum set of variables (from the response file) as arguments to the Oracle Universal Installer (OUI) (i.e “runInstaller or setup.exe”).

I give a few tested examples below to install Oracle software in Silent mode without a response file:

Oracle Database 11.2 on Linux silent installation (Enterprise Edition Software Only)

cd /opt/oracle/stage/database
./runInstaller -silent -debug -force \
FROM_LOCATION=/opt/oracle/stage/database/stage/products.xml \
oracle.install.option=INSTALL_DB_SWONLY \
UNIX_GROUP_NAME=oinstall \
INVENTORY_LOCATION=/opt/oracle/oraInventory \
ORACLE_HOME=/opt/oracle/product/11.2.0/dbhome_1 \
ORACLE_BASE=/opt/oracle \
oracle.install.db.InstallEdition=EE \
oracle.install.db.isCustomInstall=false \
oracle.install.db.DBA_GROUP=dba \
oracle.install.db.OPER_GROUP=oper \
DECLINE_SECURITY_UPDATES=true

Oracle Database 12.1 on Linux silent installation (Enterprise Edition Software Only)

cd /opt/oracle/stage/database
./runInstaller -silent -debug -force \
FROM_LOCATION=/opt/oracle/stage/database/stage/products.xml \
oracle.install.option=INSTALL_DB_SWONLY \
UNIX_GROUP_NAME=oinstall \
INVENTORY_LOCATION=/opt/oracle/oraInventory \
ORACLE_HOME=/opt/oracle/product/12.1.0/dbhome_1 \
ORACLE_BASE=/opt/oracle \
oracle.install.db.InstallEdition=EE \
oracle.install.db.DBA_GROUP=dba \
oracle.install.db.OPER_GROUP=oper \
oracle.install.db.BACKUPDBA_GROUP=dba \
oracle.install.db.DGDBA_GROUP=dba \
oracle.install.db.KMDBA_GROUP=dba \
DECLINE_SECURITY_UPDATES=true

Oracle Client 11.2 on Windows silent installation (Install Type: Administrator)

cd C:\temp\win32_11gR2_client\client
.\setup.exe -silent -debug -force -waitforcompletion FROM_LOCATION=C:\temp\win32_11gR2_client\client\stage\products.xml oracle.install.client.installType=”Administrator” ORACLE_HOME=”C:\oracle\product\11.2.0\Client” ORACLE_HOME_NAME=”OraClient11g_Home1″ ORACLE_BASE=”C:\oracle” DECLINE_SECURITY_UPDATES=true

Note :

1) The following OUI options are not mandatory but can be used when required:
– force : Allows silent mode installation into a non-empty ORACLE_HOME directory.
– debug : Displays extra debug information from OUI. If you want less output just omit it.

2) The following OUI variables are not mandatory but can be used when required:
– ORACLE_HOME_NAME – if not used , OUI will assign the name automatically (OraClient11g_Home1, OraClient11g_Home2, .. OraClient12g_Home1, OraClient11g_Home2,..)

3) Following are new groups introduced in Oracle 12.1:
oracle.install.db.BACKUPDBA_GROUP=dba \
oracle.install.db.DGDBA_GROUP=dba \
oracle.install.db.KMDBA_GROUP=dba \

That was the Oracle database or client 11g, 12c software installation in Silent Mode without using response file. Please share your experience and other examples on the same in comments below.

Enjoyed this article? Please share it with others using the social site of your choice:

Comments

4 Responses to “Oracle database client silent installation without response file”
  1. Sudheer says:

    hI,
    is there a way to install only oralce 11g or 12c client(No database) on a centos machine. using command line only?
    above examples will install teh database? but i just want to install the oracle runtime client.
    Thanks

  2. Kirill Loifman says:

    should be possible using response file
    — Kirill

  3. Akim says:

    Hi Kirill,

    First and foremost, your blog has been very interesting and well documented.

    I will like your assistance on how to specify the global database name when you run the above commands for —Oracle Database 11.2 on Linux silent installation (Enterprise Edition Software Only)

    Also, I noticed you didn’t create a different oracle_home directory for the new installation?

    Thank you.

  4. Kirill Loifman says:

    >>Also, I noticed you didn’t create a different oracle_home directory for the new installation?
    The OUI will do it for you.
    — Kirill

Add a Comment

We welcome thoughtful and constructive comments from readers.
If you want your own picture to show with your comment?
Go get a Globally Recognized Avatar!

DBMS Blog Updates : Subscribe RSS RSS: Subscribe to Articles · Subscribe to Comments Subscribe RSS Receive site updates via email