Created
September 23, 2015 14:52
-
-
Save instaBOT/0fef42746a700eaa4921 to your computer and use it in GitHub Desktop.
for Ubuntu
This file contains 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
#!/usr/bin/env bash | |
cd | |
set -e | |
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add - | |
echo "deb http://apt.postgresql.org/pub/repos/apt/ $(lsb_release -cs)-pgdg main" | \ | |
sudo tee /etc/apt/sources.list.d/pgdg.list | |
sudo apt-get update | |
sudo apt-get upgrade --yes | |
sudo apt-get install --yes postgresql-client-9.4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment