As you see the features and benefits of MongoDb. Now let’s start with the installation procedure. In this tutorial, I have tested this installation process on Debian System. You can follow same steps on Mint/Ubuntu as well.
1. Add Package Key
To install MongoDB first you need to add package for the mongodb package. Use below command to add key on the system. To run this command you should have root privileges or sudo access on the system.