Sunday, October 03, 2010

Install OPatch

Install OPatch

Refer : Metalink link Note # 274526.1 and 224346.1

1) Please download the latest OPatch version from My Oracle Support (MOS)
a) Click on the "Patches & Updates" tab

b) In the "Patch Name or Number" field type 6880880

c) In the "Platform" field select the relevant platform

d) Click the Search button.

e) Select the patch that corresponds to the Oracle release installed:

6880880 Universal Installer: Patch OPatch 9i, 10.1
6880880 Universal Installer: Patch OPatch 10.2
6880880 Universal Installer: Patch OPatch 11.1
6880880 Universal Installer: Patch OPatch 11.2

f) Click the Download button

2) Upload or move the ZIP file to ORACLE_HOME and unzip it:

    % cd OPatch
    % opatch version

3) Now you can set the OPatch directory in your PATH variable so you can execute the OPatch command from anywhere.

Example:

For Korn / Bourne shell
% export PATH=$PATH:$ORACLE_HOME/OPatch

For C Shell
% setenv PATH $PATH:$ORACLE_HOME/OPatch

Hope this help. Regards Rupam