Forked from miohtama/install-postgresql-client-9.5-on-ubuntu-14.04.bash
Created
June 23, 2019 10:23
-
-
Save vandamon/02866e6cccacda3b4c215c686b459c2c 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