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.
41 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.listUpdate sources:
sudo apt-get updateInstall MongoDB:
sudo apt-get install -y mongodb-org 2