Table of contents
5. Delete the oracle directory
1. Stop the database
# sqlplus / as sysdba
>shutdown immediate
2. Stop listening
# lsrnctl sto
3. Stop httpd service
# service httpd stop
4. Uninstall
$ORACLE_HOME/deinstall/deinstall
5. Delete the oracle directory
rm /u01 -rf
6. Delete the following files
rm -rf /usr/local/bin/dbhome
rm -rf /usr/local/bin/oraenv
rm -rf /usr/local/bin/coraenv
rm -rf /etc/oratab
rm -rf /etc/oraInst.locs
So far all oracle has been deleted!