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

3 Answers 3


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


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.

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

sudo yum erase oracle-xe 

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .