Uninstalling MongoDB Tools (Against Source Code Compilation)
Select an uninstallation mode based on the installation mode. If MongoDB Tools are installed by compiling the source code, 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.
Delete the installation directory of MongoDB Tools.
1 2 3 |
ll /root/mongodb-tools-3.6.13 rm -rf /root/mongodb-tools-3.6.13 ll /root/mongodb-tools-3.6.13 |

Parent topic: Uninstallation