MongoDB Documentation, Release 3.0.4 Step 2: Remove Packages. Remove any MongoDB packages that you had previously installed. sudo apt-get purge mongodb-enterprise * Step 3: Remove Data Directories. Remove MongoDB databases and log files. sudo rm -r /var/log/mongodb sudo rm -r /var/lib/mongodb Install MongoDB Enterprise on Debian Overview Packages Control Scripts Use this tutorial to install MongoDB Enterprise 20 from .deb packages on Debian 7 “Wheezy”. This installation guide only supports 64-bit systems. See Platform Support (page 809) for details. This package contains the following MongoDB tools: mongoimport bsondump , mongodump , mongoexport , mongofiles , mongoimport , mongooplog , mongoperf , mongorestore , mongostat , and mongotop . The mongodb-enterprise package includes various control scripts , including the init script /etc/rc.d/init.d/mongod . The package configures MongoDB using the /etc/mongod.conf file in conjunction with the control scripts. See the Configuration File reference for documentation of settings available in the configuration file. As of version 3.0.4, there are no control scripts for mongos . The mongos process is used only in sharding (page 667). You can use the mongod init script to derive your own mongos control script. $^{20}$https://www.mongodb.com/products/mongodb-enterprise-advanced?jmp=docs 41 2.3. Installation Guides MongoDB provides officially supported Enterprise packages in their own repository. This repository contains the following packages: • mongodb-enterprise • mongodb-enterprise-server • mongodb-enterprise-mongos • mongodb-enterprise-shell • mongodb-enterprise-tools This package is a metapackage that will automatically install the four component packages listed below. This package contains the mongod daemon and associated configuration and init scripts. This package contains the mongos daemon. This package contains the mongo shell.