Created
January 25, 2017 08:10
-
-
Save miohtama/e2e9ef62b030d1c77610775ee5d257ec to your computer and use it in GitHub Desktop.
Upgrade PostgreSQL client to 9.5 on Ubuntu 14.04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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
sudo is needed in the last two commands