I installed oracle 11g xe to test a software and have not been using it for a while. How to cleanly uninstall?


Brute force:

  1. Remove Oracle software: Find the Oracle home directory by looking around /u01/app/Oracle or browsing /etc/oratab and then rm -rf starting there
  2. Besides removing the software, if you created any databases, you will need to remove the data files that hold the database data. If you followed recommended naming conventions, look at directories /u## (where ## is 01 .. 99) for files named *.dbf and *.ctl and remove those too.

According to Oracle in this article then its as simple as running rpm -e oracle-xe as root.


If the installation have been done with yum, the uninstall is done by:

sudo yum erase oracle-xe 

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.