6.2 Deinstallation Examples for Oracle Database
Use these examples to learn how to run deinstallation using OUI (runinstaller
) or as a standalone tool (deinstall
).
If you run the deinstallation tool using runinstaller -deinstall
from the installation media, then help is displayed unless you enter a -home
flag and provide a path to the home directory of the Oracle software to remove from your system.
Use the optional flag -paramfile
to provide a path to a response file.
In the following example, the deinstall
command is in the path C:
\app\oracle\product\12.2.0\dbhome_1\deinstall
, and it uses a response file in the software owner location C:\Documents and Settings\oracle\
:
DRIVE_LETTER:\> cd \app\oracle\product\12.2.0\dbhome_1\deinstall\ DRIVE_LETTER:\> deinstall.bat -paramfile %HOMEPATH%\my_db_paramfile.tmpl
For the grid infrastructure home, use the deinstallation script (deinstall.bat
) in the Oracle Grid Infrastructure for a standalone server home, which in this example is C:\app\oracle\product\12.2.0\grid
:
DRIVE_LETTER:\> cd \app\oracle\product\12.2.0\grid\deinstall\ DRIVE_LETTER:\> deinstall.bat -paramfile %HOMEPATH%\my_grid_paramfile.tmpl