Removing Oracle Database Software
About Oracle Deinstallation Options
Oracle’s deinstall utility removes Oracle software and configuration files from an Oracle home, including Oracle Database, Grid Infrastructure, Oracle RAC, and Oracle Database Client; individual components are not supported for separate removal. The utility resides in $ORACLE_HOME/deinstall, can generate or use response files, and must be run from the same release as the software being removed. Failed or inactive installations require complete configuration details, while Grid Infrastructure removal additionally requires dismounting ACFS, disabling ADVM, and addressing any GNS DNS entries. Depending on the inventory and installation layout, deinstall may delete Oracle base directories, configuration files, database data, and recovery-area files, including user data owned by the Oracle software account, even when located outside the Oracle base.
Read More: About Oracle Deinstallation Options
Oracle Deinstallation
The deinstall command stops Oracle software and removes software and configuration files for a specified Oracle home. It supports interactive or silent execution, configuration inspection and response-file generation with -checkonly, custom response files through -paramfile, parameter overrides with -params, and configurable response, temporary, and log directories using -o, -tmpdir, and -logdir. In multinode environments, -local limits deinstallation to the local node while deconfiguring remote nodes, and Grid Infrastructure options can preserve local or remote homes with -skipLocalHomeDeletion or -skipRemoteHomeDeletion; -help provides option details.
Read More: Oracle Deinstallation
Deinstallation Examples for Oracle Database Client
Oracle Database Client software can be removed by running ./deinstall from its $ORACLE_HOME/deinstall directory, which automatically identifies the Oracle home. For noninteractive or customized removal, provide a response file with -paramfile; response files can be generated using -checkonly or adapted from $ORACLE_HOME/deinstall/response/deinstall.rsp.tmpl. The example demonstrates invoking the client deinstaller from /u01/app/oracle/product/19.0.0/client_1/deinstall with a response file stored at /home/usr/oracle/my_db_paramfile.tmpl.
Read More: Deinstallation Examples for Oracle Database Client