You can install it according to the method provided on the official website: https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/#install-mongodb-community-edition
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80--recv EA312927
echo "deb http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.2 multiverse"| sudo tee /etc/apt/sources.list.d/mongodb-org-3.2.list
sudo apt-get update
sudo apt-get install -y mongodb-org
If you are prompted to fail the verification, you can use the following command instead
sudo apt-get install -y mongodb-org --allow-unauthenticated
Recommended Posts