Created
April 4, 2016 07:10
-
-
Save strika/b8dc4c5402f4950efe05543339d6fbfc to your computer and use it in GitHub Desktop.
Install latest PostgreSQL on Ubuntu
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
# Based on http://www.postgresql.org/download/linux/ubuntu/ | |
sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ `lsb_release -cs`-pgdg main" >> /etc/apt/sources.list.d/pgdg.list' | |
wget -q https://www.postgresql.org/media/keys/ACCC4CF8.asc -O - | sudo apt-key add - | |
sudo apt-get update | |
sudo apt-get install postgresql postgresql-contrib |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment