5 Removing Oracle Software

This chapter describes how to completely remove all Oracle software from an Oracle home directory.

5.1 Removing Oracle Software

The following steps describe how to use Oracle Universal Installer to remove Oracle software from an Oracle home:

Note:

Always use Oracle Universal Installer to remove Oracle software. Do not delete any Oracle home directories without first using Oracle Universal Installer to remove the software.
  1. If necessary, log in as the oracle user:

    $ su - oracle
    
  2. Set the ORACLE_HOME environment variable to specify the path of the Oracle home directory that you want to remove:

    • Bourne, Bash, or Korn shell:

      $ ORACLE_HOME=/u01/app/oracle/product/11.1.0/db_1 
      $ export ORACLE_HOME
      
    • C shell:

      % setenv ORACLE_HOME /u01/app/oracle/product/11.1.0/db_1
      
  3. Start Oracle Universal Installer as follows:

    $ $ORACLE_HOME/oui/bin/runInstaller
    
  4. In the Welcome window, click Deinstall Products.

    The Inventory screen appears, listing all of the Oracle homes on the system.

  5. In the Inventory screen, select the Oracle home and the products that you want to remove, then click Remove.

    Note:

    If you choose to remove Oracle JVM, Oracle Universal Installer removes all installed products that depend on Oracle JVM, including Oracle Database 11g.

    Oracle Universal Installer displays a confirmation window asking you to confirm that you want to deinstall the products and their dependent components.

  6. Click Yes.

    Oracle Universal Installer displays a progress indicator as it removes the software.

  7. Click Close on the Inventory screen.

  8. When the products have been deleted, click Cancel to exit from Oracle Universal Installer, and then click Yes.