How-to Setup Ubuntu/Mint Apt Repo for Latest MongoDB Installation

The Tip Show Exactly How-to Setup the Ubuntu/Mint Apt Repo for Getting Installed the Latest MongoDB Database Release.

  1. Open a Terminal Window
  2. Import MongoDB GPG Public Key:
    sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10
  3. SetUp apt-get MongoDB Repo:
    sudo su -c "nano /etc/apt/sources.list.d/10gen.list"

    Inserts:

    deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen

    Ctrl+x to Save & Exit πŸ™‚

    sudo apt-get update