Install MongoDB¶
On this page
MongoDB is available in two editions: Community and Enterprise. Installation steps vary depending on the edition; both procedures are outlined in this section.
Note
This section of the manual contains tutorials on installation of MongoDB.
- For instructions on upgrading your current deployment to MongoDB 3.4, see Upgrade Procedures instead.
- For instructions on upgrading to the latest patch release for your current version, see Upgrade to the Latest Revision of MongoDB instead.
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+ and 3.4.15+. |
Ubuntu 12.04 | Support removed from MongoDB 3.2.20+ and 3.4.15+. |
Debian 7 | Support removed from MongoDB 3.2.21+ and 3.4.16+. |
Platform | 3.4 Community & Enterprise | 3.2 Community & Enterprise |
---|---|---|
Amazon Linux 2013.03 and later | ✓ | ✓ |
Debian 8 | ✓ | ✓ |
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 | Community only |
Ubuntu 14.04 | ✓ | ✓ |
Ubuntu 16.04 | ✓ | ✓ |
Windows Server 2008R2 and later | ✓ | ✓ |
Windows Vista and later | ✓ | ✓ |
macOS 10.8 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.4 Community & Enterprise |
---|---|
Ubuntu 16.04 | ✓ |
PPC64LE (MongoDB Enterprise Edition)¶
Platform | 3.4 Enterprise |
---|---|
RHEL/CentOS 7.1 | ✓ |
Ubuntu 16.04 | Removed starting in 3.4.21 |
s390x (MongoDB Enterprise Edition)¶
Platform Support EOL Notice
- Support for SLES 11 has been removed in MongoDB 3.4.15+.
- Support for RHEL/CentOS 6 has been removed in MongoDB 3.4.22+.
Platform | 3.4 Enterprise |
---|---|
RHEL/CentOS 6 | Removed starting in 3.4.22 |
RHEL/CentOS 7 | ✓ |
SLES 11 | Removed starting in 3.4.15 |
SLES 12 | ✓ |
Ubuntu 16.04 | ✓ |
Tutorials¶
MongoDB Community Edition¶
- Install on Linux
- Install MongoDB Community Edition and required dependencies on Linux.
- Install on macOS
- Install MongoDB Community Edition on macOS 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.