Which version of MongoDB to install?

I need to install MongoDB on my Ubuntu 20.04 laptop (dual booted with windows 10), and I can't understand which version I should download from their website.

Currently I have chosen 4.4.2 as the current version (which I think is the stable version). I can't decide which platform I should chose: Ubuntu 20.04 or Ubuntu 20.04 ARM 64, nor can I decide which package should I chose.

Any help would be greatly appreciated, and please do not hesitate to ask any additional details from me.

4

1 Answer

I assume the "Community Edition" is the version most people would use.

I also suggest following the installation instructions on the website, which I repeat here. This will ensure you get the right package for your architecture (amd64 or arm64).

Install GPG key:

wget -qO - | sudo apt-key add -

Add package list:

echo "deb [ arch=amd64,arm64 ] focal/mongodb-org/4.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.4.list

Update sources:

sudo apt-get update

Install MongoDB:

sudo apt-get install -y mongodb-org
2

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like