Skip to content

Instantly share code, notes, and snippets.

@mofax
Last active May 16, 2020 03:51
Show Gist options
  • Save mofax/fc0a3111d54d643862689a857ac15cd3 to your computer and use it in GitHub Desktop.
Save mofax/fc0a3111d54d643862689a857ac15cd3 to your computer and use it in GitHub Desktop.
sudo apt install gnupg
wget -qO - https://www.mongodb.org/static/pgp/server-4.2.asc | sudo apt-key add -
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.2.list
sudo apt update
sudo apt-get install -y mongodb-org
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment