Skip to content

Instantly share code, notes, and snippets.

@ankyit
Created July 31, 2018 15:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ankyit/e3df6d26c207c4ddad722b7f155f258a to your computer and use it in GitHub Desktop.
Save ankyit/e3df6d26c207c4ddad722b7f155f258a to your computer and use it in GitHub Desktop.
Postgres on 16.04
#! /bin/bash
sudo add-apt-repository "deb https://apt.postgresql.org/pub/repos/apt xenial-pgdg main"
sudo wget --quiet -O - https://postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
sudo apt-get update
sudo apt-get install -y postgresql-9.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment