Install MongoDB Community Edition on Linux

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

For the best installation experience, MongoDB provides packages for popularLinux distributions. These packages are the preferred way to runMongoDB. The following guides detail the installation process for thesesystems:

  • Install on Red Hat
  • Install MongoDB Community Edition on Red Hat Enterprise andrelated 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 .debpackages.
  • 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 systemsusing .rpm packages.

Windows Subsystem for Linux (WSL) - Unsupported

MongoDB does not support WSL, and users on WSL have encounteredvarious issues installing on WSL. For examples, see: