I. Windows Environment
1. Choose "start"> "Settings"> "Control Panel"> "Administrative Tools"> "services" to stop all Oracle services.
2. Start-> Program -> Oracle Installation products-> universal installer check to uninstall all Oracle products, but do not delete the universal installer itself.
5. Run regedit, select HKEY_LOCAL_MACHINE/software/Oracle, and press del to delete the entry.
6. Run regedit and select HKEY_LOCAL_MACHINE/system/CurrentControlSet/services. Scroll through the list and delete all Oracle entries.
7. Run refedit, HKEY_LOCAL_MACHINE/system/CurrentControlSet/services/EventLog/application to delete all Oracle entries.
8. Choose "start"> "Settings"> "Control Panel"> "system"> "advanced"> "environment variable" to delete the Oracle settings in variables such as "classpath" and "path.
9. Delete all groups and icons related to Oracle from the desktop, startup group, and program menu.
10. Delete the program filesoracle directory
11. restart the computer to completely delete the Oracle directory.
12. Delete Oracle-related files, select the default Oracle directory c: Oracle, delete the entry directory and all subdirectories, and run the Windows directory (generally c: \ WINNT) delete the following files: Oracle. INI, oradim73.ini, oradim80.ini, oraodbc. INI and so on.
13. Delete the [Oracle] Tag segment in the win. ini file.
Ii. Linux environment
0. If CRS exists, run $ crs_home/install/rootdelete. Sh first.
1. Remove/usr/local/bin/{coraenv, dbhome, oraenv}
2. Remove/etc/oratab,/etc/orainst. Loc, and/etc/Oracle directory
3. Remove all files created by Oracle installer in/opt/Oracle (install directory)
I. e. directory/opt/Oracle/{product, admin, oradata, orainventory}
RM-RF/usr/local/bin/coraenv
RM-RF/usr/local/bin/dbhome
RM-RF/usr/local/bin /oraenv
RM-RF/etc/oratab
RM-RF/etc/orainst. loc
RM-RF/etc/Oracle
RM-RF/opt/Oracle/product
RM-RF/opt/Oracle/admin
RM- RF/opt/Oracle/oradata
RM-RF/opt/Oracle/orainventory
quit;