Installion's Lion Logo

Installion.co.uk

How To Uninstall mongodb On Debian 8

To uninstall mongodb just follow these instructions.

Uninstall just mongodb

object/document-oriented database (metapackage)Debian 8.0database1:2.4.10-5+deb8u1
sudo apt-get remove mongodb

This will remove just the mongodb package itself.

Uninstall mongodb and its dependencies

sudo apt-get remove --auto-remove mongodb

This will remove the mongodb package and any other dependant packages which are no longer needed.

Purging your config/data too

If you also want to delete your local/config files for mongodb then this will work.

 Caution! Purged config/data can not be restored by reinstalling the package.
sudo apt-get purge mongodb

Or similarly, like this mongodb

sudo apt-get purge --auto-remove mongodb

Package Data

Packagemongodb
Version1:2.4.10-5+deb8u1
MaintainerLaszlo Boszormenyi (GCS) <gcs@debian.org>
Home pagehttp://www.mongodb.org
Descriptionobject/document-oriented database (metapackage)
Distrodebian
Releasejessie
Repomain
Sectiondatabase

Dependencies