To delete an Oracle database in a Linux operating system, you can use the common Oracle method or follow the methods provided in this article to delete all related files.
It is relatively easy to delete Oracle on a Linux operating system. Record the list of files to be deleted (that is, list the hiding places of Oracle installation files ). After completing these cleanup operations, you can think that there were no Oracle Installation records in the system. On this basis, a new Oracle installation and deployment can be completed.
You can Unmount and delete the file in the following order:
1. Delete the $ ORACLE_BASE/product/oraInventory directory;
2. Delete the $ ORACLE_BASE/product directory;
3. Delete the/etc/oratab file;
4. delete files related to the "ora" keyword in the/tmp/directory;
5. Delete Oracle-related content in the/opt/directory;
6. Several files under/usr/local/bin/cannot be deleted. Note that "y" is selected when the root. sh script is run in the next installation of Oracle to overwrite the file ";
7. Restart the operating system and uninstall it.