Install latest Opatch in Oracle Home environment

Install and update the latest Opatch in Oracle Home

  1. Download the latest opatch with Patch No: 6880880 from Oracle Support Site.

For installation, we have two options to install:

First option:

  • Check the old patch version, Go to directory $oracle_home\opatch version
C:\Oracle\dbhomeXE\OPatch>opatch version
OPatch Version: 12.2.0.1.14

OPatch succeeded.
  • Took backup of Oracle Opatch folder from Oracle Home $ORACLE_HOME\OPATCH
  • Unzip the downloaded opatch utility in another folder.
  • Place that opatch folder in the Oracle Home Directory $ORACLE_HOME\opatch
  • Verify the Opatch with its version command : opatch version

Second option:

  • Unzip this latest patch.
  • Backup the old opatch directory from Oracle Home : $ORACLE_HOME\opatch
  • Set ORACLE_HOME, JAVA_HOME and PATH variables.
  • Upgrade OPATCH version using following command:
java -jar <PATCH_HOME>/6880880/opatch_generic.jar -silent oracle_home=<ORACLE_HOME_LOCATION>
  • Verify with Opatch version command:
C:\Oracle\dbhomeXE\OPatch>opatch version
OPatch Version: 12.2.0.1.14
OPatch succeeded.
This entry was posted in Oracle on by .
Unknown's avatar

About SandeepSingh

Hi, I am working in IT industry with having more than 15 year of experience, worked as an Oracle DBA with a Company and handling different databases like Oracle, SQL Server , DB2 etc Worked as a Development and Database Administrator.

Leave a Reply