Environment Settings
Prerequisites
Before setting environment variables, make sure that RocksDB 6.10.2 sst_dump has been installed by following instructions in RocksDB Installation Guide.
- Open the configuration file.
vim /etc/profile
- Add the following command to the end of the file:
export PATH=$PATH:/usr/local/rocksdb/tools
The path in the command is the actual installation path of the tool.
- Make the configuration take effect.
source /etc/profile
- Verify the configuration.
sst_dump
The configuration is successful if the following information is displayed:

Parent topic: RocksDB sst_dump Tool Usage Guidance