top of page
  • Writer's pictureArun Kumar

Deinstall Oracle Software

This article describes how to remove oracle software from a Linux server. There are different methods with which you can remove the Oracle software.

Before deinstalling oracle software, make sure you have deleted the oracle databases (and other services) running from the particular ORACLE_HOME


Using Deinstall Utility

Under your ORACLE_HOME, we get a deinstall utility that you can use to remove the oracle software from your Linux server. This should be your first choice

$ORACLE_HOME/deinstall/deinstall


Using Oracle runInstaller


Remember when you install oracle software, you use runInstaller to perform the oracle installation. The same runInstaller can be used to uninstall oracle software and all associated files. Go to runInstaller location and issue below command

./runInstaller -deinstall -home /u01/app/oracle/product/12.1.0/dbhome_1/


Manual Delete ORACLE_HOME


Sometimes ORACLE software installation gets corrupted and in such case, above deinstallation utilities will not help you to remove oracle software. Use below method to remove the oracle home using Linux commands.


Stop all the oracle databases / processes running from the ORACLE_HOME. Delete ORACLE_HOME

cd $ORACLE_HOME
rm -rf *

Delete ORACLE_BASE

cd $ORACLE_BASE
rm -rf *

Remove oratab file

rm /etc/oratab

Enjoy!


5,406 views

Recent Posts

See All

Imagine an application user gave accidental salary hike of 50% instead of 5% to all employees! To initiate a database point-in-time recovery, we must know the exact time the query was executed against

bottom of page