Applies to:
Oracle Universal Installer - Version 11.2.0.1 and laterOracle Database - Enterprise Edition - Version 11.2.0.1 and later
Oracle Database - Standard Edition - Version 11.2.0.1 and later
Information in this document applies to any platform.
Goal
How to install Oracle Database Server/Client software in non-interactive or silent mode from command line without using a response file?
Solution
Silent installation can be done with the help of a "Response File". A "Response File" contains all the inputs that are required for doing the silent installation.
"Response File" can be created using one of the following methods:
1. Response file template supplied with installation kit:
Ex: <11gR2 Disk>/database/response/db_install.rsp
Copy "<11gR2 Disk>/database/response/db_install.rsp" to "<path>/db_install.rsp"
Edit "<path>/db_install.rsp" and modify the values that suits your environment
2. Record the response file using OUI in interactive mode:
Starting with 11gR2, user can save (Record) all the installation steps into a response file during installation. This can be achieved by clicking on "Save Response File" button on the Summary page. Later, this saved response file can be used for a silent installation.
Once the response file is created, user can execute the following command to do a silent installation:
Windows : setup.exe -silent -responseFile "<path>\db_install.rsp"
Unix : ./runInstaller -silent -responseFile "<path>/db_install.rsp"
The same silent installation can be done directly from the command prompt without using a response file but it requires a minimum set of variables (from the response file) as arg