How to deinstall "old" SW after has been applied?

I'm still learning continuously new things. On my test box I've installed a few weeks ago in-place which is not our recommended solution - and can be quite tricky with But I was running out of space ...

Customer have asked us for a looooooong time why we don't deliver full release but patch sets which have to be applied to a base installation. Now this all has been changed with as it is a full release. And that's the new strategy: We force people to install into a separate $ORACLE_HOME. This is called (and recommended) an out-of-place patch upgrade. Which is the default for Grid Infrastructure as well beginning with already.

You can still go "the old way" for the database installation but you'll have to 'detach' your current home from the OUI inventory first in order to be able to install into the existing one. Something we fully disrecommend as it will increase your downtime if anything fails.

Nevertheless the question came up at the upgrade workshop in Montreal (and you might have asked yourself as well already):
How do I deinstall the "old" software once I'm using the new Oracle home???


My first thought: Hey, if it's a Unix box simply 'rm -rf' the directories ;-)
Second thought: Use the OUI as it always did offer a 'REMOVE' button to remove leftovers.
Third thought: Use the magic 'X' to deinstall similar to your iPhone (ok. we are not this far yet)


Lesson learned now (thanks Roy!):
There's a deinstallation tool called 'deinstall' available in your $ORACLE_HOME/deinstall directory. Please find a detailed description right here in the Oracle Database Installation Guide(s) for 11.2. It will work for the database, Clusterware and ASM. But you could download it separately from OTN as well as part of the software distribution.


Hi, I've learned, after a succesfull>> upgrade that a deinstall will not work since it wants to deinstall the complete crs.. any detailed docs on how to do this?

Posted by Rwork on November 08, 2010 at 11:53 AM CET #

Hi there, thanks for your comment - would you please mind to clarify a bit more what exactly the issue is? I've heard from different sources that the deinstall will do a bit more or less than people expect so I would like to get more information!! Thanks in advance and kind regards Mike

Posted by Mike Dietrich on November 15, 2010 at 07:50 AM CET #

FYI, the link is death

Posted by Ewoud on January 20, 2015 at 08:51 AM CET #

Thanks - I corrected it :-)


Posted by Mike on January 20, 2015 at 09:01 AM CET #

Post a Comment:
  • HTML Syntax: NOT allowed

Mike Dietrich - Oracle Mike Dietrich
Senior Principal Technologist - Database Upgrade Development Group - Oracle Corporation

Based near Munich/Germany and spending plenty of time in airplanes to run either upgrade workshops or work onsite with reference customers. Acting as interlink between customers and the Upgrade Development.

Contact me either via XING or LinkedIn


« February 2015
Oracle related Tech Blogs
Slides Download Center
Visitors since 17-OCT-2011
White Paper and Docs
Viewlets and Videos
This week on my Rega/iPod/CD
Workshop Map
Upgrade Reference Papers