

If you’d like to install the latest version of MongoDB, we encourage you to follow this guide on How To Install MongoDB on Ubuntu 18.04 from source.

However, we generally recommend installing the latest version of MongoDB - version 4.4 as of this writing - instead. Note: As of this writing, this tutorial installs version 3.6 of MongoDB, which is the version available from the default Ubuntu repositories. In this tutorial you’ll install MongoDB, manage its service, and optionally enable remote access. MongoDB, also known as Mongo is a free and open-source NoSQL document database used commonly in modern web applications. The author selected the Creative Commons Corporation to receive a $100 donation as part of the Write for DOnations program.
