Navigation

Install MongoDB

MongoDB is available in two editions: Community and Enterprise.

Tip

This section of the manual contains information on installing MongoDB.

Upgrade Community Edition to Enterprise Edition Tutorials

Important

Do not use these instructions to upgrade to another release version. To upgrade release versions, refer to the appropriate release upgrade instructions, such as Upgrade to MongoDB 4.2.

Supported Platforms

Changed in version 3.4: MongoDB no longer supports 32-bit x86 platforms.

x86_64

Platform Support EOL Notice

Ubuntu 14.04 Support removed in MongoDB 4.2+.
Debian 8 Support removed in MongoDB 4.2+.
Debian 7 Support removed in MongoDB 4.0+, 3.6.6+, 3.4.16+, and 3.2.21+.
SLES 11 Support removed in MongoDB 3.6.4+, 3.4.15+, and 3.2.20+.
Ubuntu 12.04 Support removed in MongoDB 3.6.4+, 3.4.15+, and 3.2.20+.

Upcoming EOL Notice:

Windows 7/2008R2 MongoDB will end support in future releases.
Windows 8/2012 MongoDB will end support in future releases.
Windows 8.1/2012R2 MongoDB will end support in future releases.

Platform 4.2 Community & Enterprise 4.0 Community & Enterprise 3.6 Community & Enterprise 3.4 Community & Enterprise
Amazon Linux 2013.03 and later
Amazon Linux 2    
Debian 8  
Debian 9 3.6.5+  
RHEL/CentOS/Oracle Linux [1] 6.2 and later
RHEL/CentOS/Oracle Linux [1] 7.0 and later
SLES 12
Solaris 11 64-bit       Community only
Ubuntu 14.04  
Ubuntu 16.04
Ubuntu 18.04    
Windows Vista      
Windows 7/Server 2008 R2
Windows 8/2012 R2 and later
macOS 10.12 and later      
macOS 10.11  
[1](1, 2) MongoDB only supports Oracle Linux running the Red Hat Compatible Kernel (RHCK). MongoDB does not support the Unbreakable Enterprise Kernel (UEK).

ARM64

Platform Support EOL Notice

Ubuntu 16.04 ARM64 Support removed in MongoDB Community 4.2+.

Platform 4.2 Community & Enterprise 4.0 Community & Enterprise 3.6 Community & Enterprise 3.4 Community & Enterprise
Ubuntu 18.04      
Ubuntu 16.04   Enterprise Enterprise

PPC64LE (MongoDB Enterprise Edition)

Platform 4.2 Enterprise 4.0 Enterprise 3.6 Enterprise 3.4 Enterprise
RHEL/CentOS 7
Ubuntu 16.04   Removed starting in 3.6.13 Removed starting in 3.4.21

s390x

Platform 4.2 Community & Enterprise 4.0 Community & Enterprise 3.6 Enterprise 3.4 Enterprise
RHEL/CentOS 7 4.0.6+    
RHEL/CentOS 6    
SLES12 4.0.6+    
Ubuntu 18.04 4.0.6+