Ubuntu – Install MongoDB on Ubuntu 17.04

mongodbsoftware installation

How can I install MongoDB on my Ubuntu 17.04??

Looks like there are no packages provided by Mongo at the moment, just wondering if someone has already managed to install an instance on 17.04?

Best Answer

Mongo only provides packages for LTS versions, so there won't be a package for 17.04 ever.

That being said, you can try following the instructions for 16.04, as described here, specifically:

echo "deb [ arch=amd64,arm64 ] http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.6 multiverse" |
sudo tee /etc/apt/sources.list.d/mongodb-org-3.6.list

and then update your apt cache and install mongo:

sudo apt update
sudo apt install mongodb-org

For more info see the official installation instructions.

Related Question