Install MongoDB

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

Supported Platforms

Platform 3.2 3.0 2.6 2.4 2.2
Amazon Linux
Debian 7
Fedora 8+    
RHEL/CentOS 6.2+
RHEL/CentOS 7.0+    
SLES 12        
Solaris 64-bit
Ubuntu 12.04
Ubuntu 14.04    
Microsoft Azure
Windows Vista/Server 2008R2/2012+
OSX 10.7+  

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.


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.

Was this page helpful?

Yes No

Thank you for your feedback!

We're sorry! You can Report a Problem to help us improve this page.