3 comments on “Install MongoDB on Kali 2020

  1. Pingback: Use MongoDB Cloud with Python on Kali 2020 | Tech Star

  2. dear kulani, tkns for this article :),
    I’m having an issue in finding the mongodb directory to add to path.
    I’m on Kali 2020 as you.
    can you please tell me how to find it on debian based distro?.

    I’m using “locate ” but still get a mess of files

    tanks a lot

    Like

    • @emixstream not sure if you still need it, refers to the path you downloaded and untar-ed the mongo files.

      Say that you have un-tar the file in /home/kali/Desktop, your path would be /home/kali/Desktop/mongodb-linux-x86_64-3.6.17

      Here’s an example:

      [/home/kali/Desktop] # tar -xvf mongodb-linux-x86_64-3.6.17.tgz
      [/home/kali/Desktop] # export PATH=/home/kali/Desktop/mongodb-linux-x86_64-3.6.17/bin:$PATH

      Like

Leave a Reply

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

WordPress.com Logo

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

Facebook photo

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

Connecting to %s