我要评分
获取效率
正确性
完整性
易理解

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.

  1. Uninstall MongoDB Tools.
    1
    2
    rpm -qa | grep mongodb-tools
    rpm -e mongodb-tools-3.6.13-1.el8
    

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