Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Goal
This documents explains how to download and install opatch.
Solution
1) Please download the latest OPatch version from Metalink.
From Metalink:
Or:
2) Then upload or move the unzipped zip file to ORACLE_HOME and uncompress it:
Example:
===============================================================
===
% mv p6880880_101000_SOLARIS64.zip $ORACLE_HOME
% cd $ORACLE_HOME
(If an OPatch directory already exist then move
it)
% mv Opatch
OPatch_100057
% unzip p6880880_101000_SOLARIS64.zip
Archive: p6880880_101000_SOLARIS64.zip
creating: OPatch/
creating: OPatch/docs/
inflating: OPatch/docs/FAQ
inflating: OPatch/docs/README.txt
inflating: OPatch/docs/Users_Guide.txt
inflating: OPatch/docs/bt1.txt
inflating: OPatch/docs/bt2.txt
inflating: OPatch/docs/tmp
inflating: OPatch/emdpatch.pl
creating: OPatch/jlib/
inflating: OPatch/jlib/opatch.jar
inflating: OPatch/opatch
inflating: OPatch/opatch.bat
inflating: OPatch/opatch.pl
creating: OPatch/perl_modules/
inflating: OPatch/perl_modules/Apply.pm
inflating: OPatch/perl_modules/AttachHome.pm
inflating: OPatch/perl_modules/Command.pm
inflating: OPatch/perl_modules/LsInventory.pm
inflating: OPatch/perl_modules/Query.pm
inflating: OPatch/perl_modules/RollBack.pm
inflating: OPatch/perl_modules/Version.pm
inflating: OPatch/perl_modules/XML.pm
inflating: OPatch/perl_modules/opatchIO.pm
inflating: OPatch/README.txt
creating: OPatch/ocm/
extracting: OPatch/ocm/ocm.zip
creating: OPatch/ocm/doc/
inflating: OPatch/ocm/doc/license.txt
creating: OPatch/ocm/lib/
inflating: OPatch/ocm/lib/emocmutl.jar
creating: OPatch/ocm/bin/
inflating: OPatch/ocm/bin/emocmrsp
% 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
References
Note 224346.1 - Opatch - Where Can I Find the Latest Version of Opatch?
Note 229626.1 - How to apply interim patches and the functionality of opatch on
windows
Help us improve our service. Please email us your comments for this document. .