How to Install MongoDB Repository Debian Based Systems

December 13, 2017 | By the+gnu+linux+evangelist | Filed in: Tutorial.

Install MongoDB Repository Debian

You are Welcome! This Tip Shows You How to Install MongoDB Repository on Debian GNU/Linux Based OSes.

And MongoDB (from “humongous”) is an Open-Source Document Database written in C++, and the leading NoSQL database.

Finally, these instructions are Valid also for:

  • Kali Linux
  • LMDE Linux
  • Deepin Linux
  • Parsix Linux
  • antiX Linux
  • MX Linux
  • SparkyLinux
  • MakuluLinux
  • Elive Linux
How to Install MongoDB Repository Debian Based OSes - Featured
  1. First, Import GPG Key

    sudo apt-key adv --keyserver hkp:// --recv 2930ADAE8CAF5059EE73BB4B58712A2291FA4AD5
  2. Then Setup MongoDB Repo.

    • For Debian 9-Stretch/10-Buster and Testing/Sid-Unstable

      echo "deb stretch/mongodb-org/3.6 main" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.6.list
    • Instead, for Debian 8 Stretch

      echo "deb jessie/mongodb-org/3.6 main" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.6.list
    • Finally, for Debian 7 Wheezy

      echo "deb wheezy/mongodb-org/3.6 main" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.6.list
  3. And to Reload Apt Sources

    sudo apt-get update

Tags: , , , , , , ,

QuickChic Theme • Powered by WordPress