Navigation

Install MongoDB

MongoDB is available in two editions: Community and Enterprise.

This section of the manual contains information on installing MongoDB.

Starting in 3.6, each MongoDB installer is packaged with a platform-specific MongoDB Compass installation script. This script installs MongoDB Compass as part of the MongoDB Server installation process.

Supported Platforms

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

x86_64

Platform Support EOL Notice

SLES 11 Support removed from MongoDB 3.2.20+, 3.4.15+, and 3.6.4+.
Ubuntu 12.04 Support removed from MongoDB 3.2.20+, 3.4.15+, and 3.6.4+.
Debian 7 Support removed from MongoDB 3.2.21+, 3.4.16+, and 3.6.6+.

Platform 3.6 Community & Enterprise 3.4 Community & Enterprise 3.2 Community & Enterprise
Amazon Linux 2013.03 and later
Debian 8
Debian 9 3.6.5 and later    
RHEL/CentOS/Oracle Linux [1] 6.2 and later
RHEL/CentOS/Oracle Linux [1] 7.0 and later
SLES 12  
SLES 15 3.6.16+    
Solaris 11 64-bit   Community only Community only
Ubuntu 14.04
Ubuntu 16.04
Windows Vista  
Windows 7/Server 2008 R2 and later
macOS 10.7 and later
[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 3.6 Community & Enterprise 3.4 Community & Enterprise
Ubuntu 16.04

PPC64LE (MongoDB Enterprise Edition)

Platform 3.6 Enterprise 3.4 Enterprise
RHEL/CentOS 7.1
Ubuntu 16.04 Removed starting in 3.6.13 Removed starting in 3.4.21

s390x (MongoDB Enterprise Edition)

Platform Support EOL Notice

  • Support for SLES 11 has been removed in MongoDB 3.2.20+, 3.4.15+, and 3.6.4+.
  • Support for RHEL/CentOS 6 has been removed in MongoDB 3.4.22+, 3.6.14+.
  • Support for Ubuntu 16.04 has been removed in MongoDB 3.6.16+.
Platform 3.6 Enterprise 3.4 Enterprise
RHEL/CentOS 6 Removed starting in 3.6.14 Removed starting in 3.4.22
RHEL/CentOS 7
SLES 11 Removed starting in 3.6.4 Removed starting in 3.4.15
SLES 12
Ubuntu 16.04 Removed starting in 3.6.16