Removing an RPM-based Oracle Database Installation

Use this procedure to remove and deinstall a database installed using the rpm –ivh command.

  1. Login as the Oracle Database installation owner user (oracle).
  2. Run the deinstall command from the Oracle home directory installed using an rpm-based installation.
    $ cd /opt/oracle/product/18.0.0.0.0-1/dbhome_1/deinstall
    $ ./deinstall
  3. Log in as root.
  4. Run the following command to remove the RPM-based database installation:
    # rpm -e oracle-ee-db