Install Mongo 3.0 DB on Linux Mint 17

echo “deb trusty/mongodb-org/3.0 multiverse” | sudo tee /etc/apt/sources.list.d/mongodb-org-3.0.list


Installing Mongo 3 on a Linux Mint


This recipe is adapted from Tobias Rienmüller blog and I’m posting it here only for future and easier reference (I used it and it worked perfectly on my machine).

How to

First, import the public key used by the package management system:

sudo apt-key adv --keyserver hkp:// --recv 7F0CEB10

Next, we have to create the source file list for the Mongo DB 3.0 by:

echo "deb trusty/mongodb-org/3.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.0.list

After that, we update the repositories with the command:

sudo apt-get update

Next, we download and install the MongoDB 3.0 package, through the following command:

sudo apt-get install -y mongodb-org

And to finalize the procedure, we just check that everything worked and that we have the right version installed (it should return MongoDB shell version: 3.0.12):

mongo --version


No further explanations seem necessary for this recipe.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s