Sometimes we need to remove or un-install Oracle Database from our computer. These topics describe how to remove Oracle software and configuration files for version Oracle 12c in Windows and Unix/Linux.
Uninstalling oracle database is little bit complex because it sets different file in different location during install. If properly those file is not deleted Oracle will not install next time.
For deleting Oracle completely including configurations, you need delete all files and folders whatever it is located.
Uninstalling all products from UNIX is a lot more consistent. If you do need to resort to a manual uninstall you should do something like:
# oemctl stop oms user/password # agentctl stop # lsnrctl stop
# cd $ORACLE_HOME # rm -Rf *
# cd $ORACLE_BASE # rm -Rf admin doc jre o*
# rm /etc/oratab /etc/emtab