Install MongoDB Community Edition on Linux
Important
MongoDB 6.3.1 is a rapid release and is only supported for MongoDB Atlas. MongoDB 6.3.1 is not supported for use on-premises. For more information, see MongoDB Versioning.
To install the latest MongoDB version supported for on-premises use, MongoDB 6.0, see the MongoDB 6.0 installation instructions.
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.