Install MongoDB Community Edition on Linux
Important
MongoDB 8.0 Release Candidates
MongoDB 8.0 binaries are currently available only as release candidates. Release candidates can be used for early testing of new features, but are not suitable for production deployments.
This version of the manual is for an upcoming release and is currently a work in progress.
These documents provide instructions to install MongoDB Community Edition for supported Linux systems.
Recommended
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.