Instructions for installing MADlib and Postgres on Ubuntu 16.04
# Install Postgres 9.6, pl/r and dependencies for MADlib
sudo apt-get install -y cmake postgresql-9.6 postgresql-server-dev-9.6 postgresql-plpython-9.6 postgresql-9.6-plr libkrb5-dev postgresql-client postgresql-contrib
# grab madlib rpm
cd /home/gpadmin/tmp