Uninstalling MongoDB Tools (Against RPM Package Installation)
Select an uninstallation mode based on the installation mode. If MongoDB Tools are installed using an RPM package, uninstall them by following the instructions in this section.
In the following commands, 3.6.13 indicates the MongoDB version. When installing another version, replace 3.6.13 with the actual version.
- Uninstall MongoDB Tools.
1 2
rpm -qa | grep mongodb-tools rpm -e mongodb-tools-3.6.13-1.el8

- Delete the installation directory.
1 2
ll /usr/local/mongodb-tools/ rm -rf /usr/local/mongodb-tools/
Parent topic: Uninstallation