From wiki-ben
Jump to: navigation, search

Install MongoDB

Linux Mint

A walkthrough tutorial is available on the blog site:

A brief breakdown of the steps will be listed here

  1. Run the Following Command: sudo apt-key adv --keyserver hkp:// --recv 7F0CEB10
  2. Edit the Follow Command:
    echo "deb "$(lsb_release -sc)"/mongodb-org/3.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.0.list
  3. Replace $(lsb_release -sc) with the appropriate ubuntu version the Mint version you are installing MongoDB on is based off of. You can find a full list here :
  4. Update dependencies: sudo apt-get update
  5. Install Latest Version of MongoDB: sudo apt-get install -y mongodb-org


To install on Ubuntu, the procedure is very simple. Executes the following commands in the listed order:

  1. sudo apt-key adv --keyserver hkp:// --recv 7F0CEB10
  2. echo "deb "$(lsb_release -sc)"/mongodb-org/3.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.0.list
  3. sudo apt-get update
  4. sudo apt-get install -y mongodb-org

Note that this will install the latest version of mongo. To install a specific version see MongoDB Docs in the sources