Skip Headers
Oracle® Database Client Installation Guide
11g Release 2 (11.2) for Linux

Part Number E10841-03
Go to Documentation Home
Go to Book List
Book List
Go to Table of Contents
Go to Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Go to next page
View PDF

5 Removing Oracle Database Client Software

This chapter describes how to completely remove Oracle software from an Oracle home directory using the Deinstallation Tool.

The deinstall command removes the Oracle Database Client installations.

It includes information about the following topics:

5.1 About the Deinstallation Tool

The Deinstallation Tool (deinstall) is available as a separate download from the Oracle Technology Network Web site. The Deinstallation Tool is also available in Oracle home directories after installation. It is located in the path $ORACLE_HOME/deinstall.

The deinstall command stops Oracle software, and removes Oracle software and configuration files on the operating system.

The command uses the following syntax, where variable content is indicated by italics:

deinstall -home complete path of Oracle home [-silent] [-checkonly] [-local]
[-paramfile complete path of input parameter property file] [-params name1=value
name2=value . . .] [-o complete path of directory for saving files] [-help | -h]

The options are:

5.2 Example of Running the Deinstall Command

As the deinstall command runs, you are prompted to provide the home directory of the Oracle software that you want to remove from your system. Provide additional information as prompted.

If you enter the deinstall command outside of the $ORACLE_HOME/deinstall folder, then help is displayed, unless you enter a -home flag and provide a path. If you run the deinstall command from the $ORACLE_HOME/deinstall folder, then deinstallation starts without prompting you for a home address.

Use the optional flag -paramfile to provide a path to a parameter file.

In the following example, the deinstall command is in the path /u01/app/oracle/product/11.2.0/client_1/deinstall, and and it uses a parameter file in the software owner location /home/usr/oracle:

# cd /u01/app/oracle/product/11.2.0/client_1/deinstall/
# ./deinstall -paramfile /home/usr/oracle/myparamfile.tmpl

You are prompted to provide the home directory of the Oracle software that you intend to remove from your system. Provide additional information as you are prompted by the tool.

5.3 Example of a Deinstallation Parameter File

You can run the deinstall command with the -paramfile option to use the values you specify in the parameter file. The following is an example of a parameter file, in which the Oracle Database binary owner is oracle, the Oracle Database home (Oracle home) is in the path /u01/app/oracle/product/11.2.0/client_1/, the Oracle base (where other Oracle software is installed) is /u01/app/oracle/, the central Oracle Inventory home (oraInventory) is /u01/app/oraInventory, and the client is client1:


5.4 Removing Oracle Software

Complete the following procedure to remove Oracle software:

  1. Log in as the installation owner.

  2. Run the deinstall command, providing information about your servers as prompted.

As an Amazon Associate I earn from qualifying purchases.