How To Install MongoDB from the Default Repositories

MongoDB is a free and open-source NoSQL document database used in many modern web applications. These tutorials will walk you through how to install MongoDB using the default package repositories of their respective operating system.

Ubuntu

20.04

How To Install MongoDB from the Default APT Repositories on Ubuntu 20.04

Learn How To Install MongoDB from the Default APT Repositories on Ubuntu 20.04
18.04

How To Install MongoDB from the Default APT Repositories on Ubuntu 18.04

Learn How To Install MongoDB from the Default APT Repositories on Ubuntu 18.04

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.