Skip to content

Instantly share code, notes, and snippets.

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 vandamon/02866e6cccacda3b4c215c686b459c2c to your computer and use it in GitHub Desktop.
Save vandamon/02866e6cccacda3b4c215c686b459c2c to your computer and use it in GitHub Desktop.
Upgrade PostgreSQL client to 9.5 on Ubuntu 14.04
# Ubuntu 14.04 repo
# For more repos see https://www.ubuntuupdates.org/ppa/postgresql?dist=trusty-pgdg
# Install key
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
# 14.04 repo
sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main" >> /etc/apt/sources.list.d/postgresql.list'
apt update
apt install postgresql-client-9.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment