dbaascli dbhome purge

The dbhome purge subcommand of the dbaascli utility is used to delete an unused Oracle Home directory location.

Connect to the compute node as the opc user and execute this command as the root user.

dbaascli dbhome purge

When first prompted, enter:

  • 1 — if you want to specify the Oracle Home name for the location being purged.

  • 2 — if you want to specify the Oracle Home directory path for the location being purged.

When next prompted, enter the Oracle Home name or directory path for the location being purged.

If your entries are valid and the Oracle Home is not associated with a database deployment, then the Oracle binaries are removed from the Oracle Home directory location and the associated metadata is removed from the system.