Your browser does not support JavaScript. This help page requires JavaScript to render correctly.
Skip Headers
Previous
Previous
 
Next
Next

Updating the PATH Environment Variable

The opatch binary file is located in the Oracle_home/OPatch directory. You can either specify this path when executing OPatch, or you can update the PATH environment variable to include the OPatch directory.

To update the PATH environment variable on Oracle Enterprise Linux systems:

  1. In a command window, log in to the operating system.

  2. Use a shell command similar to the following to update the value of the PATH environment variable, where /u01/app/oracle/11gR2/db_1 is the location of your Oracle home directory:

    $ export PATH=$PATH:/u01/app/oracle/11gR2/db_1/OPatch
    

    You could also modify the shell profile script for the current user to have this variable configured every time you log in.

Related Topics

Preparing to Use OPatch

Configuring the Operating System Environment

Oracle Universal Installer and OPatch User's Guide for Windows and UNIX