Install MongoDB Community Edition on Linux
This version of the documentation is archived and no longer
supported. View the current documentation to learn how to
upgrade your version of MongoDB.
Note
MongoDB Atlas
MongoDB Atlas is a hosted MongoDB service option in the cloud which requires no installation overhead and offers a free tier to get started.
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.