Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save miohtama/e2e9ef62b030d1c77610775ee5d257ec to your computer and use it in GitHub Desktop.
Save miohtama/e2e9ef62b030d1c77610775ee5d257ec 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
@joseccuellar
Copy link

sudo is needed in the last two commands

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment