Navigation

Install MongoDB Community Edition on Linux

These documents provide instructions to install MongoDB Community Edition for supported Linux systems.

For the best installation experience, MongoDB provides packages for popular Linux distributions. These packages are the preferred way to run MongoDB. The following guides detail the installation process for these systems:

Install on Red Hat
Install MongoDB Community Edition on Red Hat Enterprise and related Linux systems using .rpm packages.
Install on Ubuntu
Install MongoDB Community Edition on Ubuntu Linux systems using .deb packages.
Install on Debian
Install MongoDB Community Edition on Debian systems using .deb packages.
Install on SUSE
Install MongoDB Community Edition on SUSE Linux systems using .rpm packages.
Install on Amazon
Install MongoDB Community Edition on Amazon Linux AMI systems using .rpm packages.
Warning
Windows Subsystem for Linux (WSL) - Unsupported

MongoDB does not support the Windows Subsystem for Linux (WSL).

Give Feedback