Tested on Ubuntu 16.04

This script installs MongoDB 3.2.

Usage:

curl -sSL https://jrussell.sh/install-mongo3 | sudo bash

Raw Script Contents