9 Deinstalling Oracle AI Database Free
When you deinstall Oracle AI Database Free, all components, including data files, the database, and the software, are removed.
If you want to save your data files but remove the Oracle AI Database Free software and database, then first export the data before you deinstall.
Because the deinstallation process removes all files from the directory in which Oracle AI Database Free is installed, back up any files from the directory (if needed) before you deinstall. The database will no longer be operational after deinstallation.
Run the procedure in this topic as root
or with root
privileges.
sudo -s
Run the following commands to deinstall Oracle AI Database Free:
-
Delete all the Oracle AI Database Free data files, the listener, and configuration files. After this operation, only logs and the Oracle home software remains.
/etc/init.d/oracle-free-26ai delete
-
This command removes the software. After this operation, some content under Oracle base
/opt/oracle
will remain and you can manually delete it.yum remove oracle-ai-database-free-26ai
-
(Optional) If you only installed Oracle AI Database Free on the system and have no further Oracle AI Database software installed, you can also remove the Oracle AI Database Preinstallation RPM:
yum remove oracle-ai-database-preinstall-26ai
- To delete the downloaded RPM files:
rm oracle-ai-database-preinstall-26ai* rm oracle-ai-database-free-26ai*