I installed oracle 11g xe to test a software and have not been using it for a while. How to cleanly uninstall?
- Remove Oracle software: Find the Oracle home directory by looking around /u01/app/Oracle or browsing /etc/oratab and then rm -rf starting there
- 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.