• 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 ORACLE_HOME

Below are the different methods in which you can remove Oracle software from Linux server:

  • Using deinstallation tool with runInstaller

  • Using deinstallation tool under ORACLE_HOME

  • Manual Oracle uninstall

Method 1


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/


Method 2

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


Method 3


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!


Recent Posts

See All

MySQL Installation on Linux

This article demonstrates MySQL installation on Oracle Enterprise Linux 6.5 version. Installation of MySQL Make sure you are able to connect internet via virtual machine. Try to ping google.com and pr

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 XenServer, you must create your own ISO repository to upload ISO files. Create ISO directory Acce

Automate RMAN Backups using Shell Scripts

In a real environment, off course you will not manually trigger all the Oracle database backups. You need an automated mechanism to trigger RMAN backups. In this article we will look at RMAN backup au

  • Facebook
  • Twitter
  • YouTube
  • Instagram

© 2020 by DBA Genesis

Feedback