• Arun 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 Oracle runInstaller


Remember when you install oracle software, you use runInstaller from the installation media. 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/


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.

$ORACLE_HOME/deinstall/deinstall


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!


611 views

Recent Posts

See All

Add ISO image storage repository on XenServer

If you have used VMware ESXI, its very easy to upload ISO files to the data store and create VMs. With Citrix XenServer, you must create your own ISO repository to upload ISO files. Create ISO directo

Oracle Home Cloning

Have you ever imagine how easy it would be if you could just clone an existing installation of Oracle Software from one server to another server without performing a fresh installation! You might have

Oracle External Tables

Oracle SQL*Loader engine allows you to query external tables that are stored on flat files. When I say flat files, I literally mean a file that is stored on OS level. Yes, you can query a flat file th