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

- View the installation directory.
1ls /usr/local/rocksdb
- Uninstall RocksDB. Check for the installation directory. If the directory does not exist, RocksDB is uninstalled successfully.
1rpm -e --nodeps rocksdb
1ls /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.1rpm -qa | grep rocksdb
- Delete the database directory.
1ll /home/rocksdb/1rm -rf /home/rocksdb/*
1ll /home/rocksdb/
Parent topic: Installation and Uninstallation Based on an RPM Package