Removing an RPM-based Oracle Database Installation
Use this procedure to remove and deinstall a database installed using the yum
command.
If the yum
command detects other configured components in the Oracle home such as databases or listeners, then it stops the deinstallation process. A message is displayed that instructs you to remove the configured components manually. To remove these configured components:
-
Login as the Oracle Database installation owner user (
oracle
). -
To remove any database associated with your installation, use Oracle Database Configuration Assistant (Oracle DBCA).
$ cd $ORACLE_HOME/bin $ ./dbca
-
To remove any listeners associated with your installation, run Oracle Net Configuration Assistant (Oracle NETCA).
$ cd $ORACLE_HOME/bin $ ./netca
-
Log in as
root
and run theyum
command again to remove the rpm-based database installation.# yum -y remove oracle-database-ee-18c
Parent topic: Removing Oracle Database Software