Uninstalling RocksDB Against Source Code Compilation
- View the installation directory.
ls /usr/local/rocksdb/

- Delete the source code installation directory. If the directory does not exist after the deletion, the uninstallation is successful.
rm -rf /usr/local/rocksdb
ls /usr/local/rocksdb
- Delete the database directory.
ll /home/rocksdb/
rm -rf /home/rocksdb/*
ll /home/rocksdb/