- Install MongoDB >
- Install on Linux
Install on Linux¶
On this page
These documents provide instructions to install MongoDB for various Linux systems.
Recommended¶
For the best installation experience, MongoDB provides packages for popular Linux distributions. These packages, which support specific platforms and provide improved performance and TLS/SSL support, are the preferred way to run MongoDB. The following guides detail the installation process for these systems:
- Install on Red Hat
- Install MongoDB on Red Hat Enterprise and related Linux systems
using
.rpm
packages. - Install on SUSE
- Install MongoDB on SUSE Linux systems using
.rpm
packages. - Install on Amazon Linux
- Install MongoDB on Amazon Linux systems using
.rpm
packages. - Install on Ubuntu
- Install MongoDB on Ubuntu Linux systems using
.deb
packages. - Install on Debian
- Install MongoDB on Debian systems using
.deb
packages.
For systems without supported packages, refer to the Manual Installation tutorial.
Manual Installation¶
For Linux systems without supported packages, MongoDB provides a generic Linux release. These versions of MongoDB don’t include TLS/SSL, and may not perform as well as the targeted packages, but are compatible on most contemporary Linux systems. See the following guides for installation:
- Install MongoDB From Tarball
- Install the official build of MongoDB on other Linux systems from MongoDB archives.