Navigation
This version of the documentation is archived and no longer supported.

Install MongoDB

This section of the manual contains tutorials on installation of MongoDB.

Supported Platforms

Platform Support EOL Notice

  • Support for SLES 11 has been removed in MongoDB 3.2.20+.
  • Support for Ubuntu 12.04 has been removed in MongoDB 3.2.20+.
  • Support for Debian 7 has been removed in MongoDB 3.2.21+.
Platform 3.2 3.0 2.6 2.4 2.2
Amazon Linux
Debian 8        
Debian 7 EOL’d as of 3.2.21+
Fedora 8+    
RHEL/CentOS 6.2+
RHEL/CentOS 7.0+    
SLES 11 EOL’d as of 3.2.20
SLES 12        
Solaris 11 64-bit
Ubuntu 12.04 EOL’d as of 3.2.20
Ubuntu 14.04    
Ubuntu 16.04        
Microsoft Azure
Windows Vista/Server 2008R2/2012+
macOS 10.8 and later  

Deprecation of 32-bit Versions

Changed in version 3.2: Starting in MongoDB 3.2, 32-bit binaries are deprecated and will be unavailable in future releases.

Changed in version 3.0: Commercial support is no longer provided for MongoDB on 32-bit platforms (Linux and Windows). See Platform Support.

In addition, the 32-bit versions of MongoDB have the following limitations:

  • 32-bit versions of MongoDB do not support the WiredTiger storage engine.
  • 32-bit builds disable journaling by default because journaling further limits the maximum amount of data that the database can store.
  • When running a 32-bit build of MongoDB, the total storage size for the server, including data and indexes, is 2 gigabytes. For this reason, do not deploy MongoDB to production on 32-bit machines.

If you’re running a 64-bit build of MongoDB, there’s virtually no limit to storage size. For production deployments, 64-bit builds and operating systems are strongly recommended.

Tutorials

MongoDB Community Edition

Install on Linux
Install MongoDB Community Edition and required dependencies on Linux.
Install on OS X
Install MongoDB Community Edition on OS X systems from Homebrew packages or from MongoDB archives.
Install on Windows
Install MongoDB Community Edition on Windows systems and optionally start MongoDB as a Windows service.

MongoDB Enterprise

Install on Linux
Install the official builds of MongoDB Enterprise on Linux-based systems.
Install on OS X
Install the official build of MongoDB Enterprise on OS X
Install on Windows
Install MongoDB Enterprise on Windows using the .msi installer.