apt-get purge mongodb-10gen
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 219 MB disk space will be freed.
Do you want to continue [Y/n]? Y
(Reading database ... 32930 files and directories currently installed.)
Removing mongodb-10gen ...
Purging configuration files for mongodb-10gen ...
dpkg: warning: while removing mongodb-10gen, directory '/var/lib/mongodb' not empty so not removed.
Processing triggers for ureadahead ...
Processing triggers for man-db ...
Gosh, I am happy you are gone.