xxxxxxxxxx
1. Open the Control Panel on your Windows machine.
2. Click on "Uninstall a program" or "Programs and Features" (depending on your version of Windows).
3. From the list of installed programs, find MongoDB and right-click on it.
4. Select "Uninstall" or "Remove" from the context menu.
5. Follow the prompts to complete the uninstallation process.
xxxxxxxxxx
sudo apt-get purge mongodb mongodb-clients mongodb-server mongodb-dev
sudo apt-get purge mongodb-10gen
sudo apt-get autoremove