Uninstalling RocksDB Against RPM Package Installation
- Check the installation status.
rpm -qa | grep rocksdb

- View the installation directory.
ls /usr/local/rocksdb

- Uninstall RocksDB. Check for the installation directory. If the directory does not exist, RocksDB is uninstalled successfully.
rpm -e --nodeps rocksdb
ls /usr/local/rocksdb
You can also run the rpm command to check the uninstallation status. If no command output is displayed, the uninstallation is successful.rpm -qa | grep rocksdb
- Delete the database directory.
ll /home/rocksdb/
rm -rf /home/rocksdb/*
ll /home/rocksdb/
Parent topic: Installation and Uninstallation Based on an RPM Package