Created
November 21, 2018 12:30
-
-
Save vaughany/76ab6e0b6b65afaabd0d23151adccc22 to your computer and use it in GitHub Desktop.
Installing postgres into any version of 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
sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ $(lsb_release -cs)-pgdg main" >> /etc/apt/sources.list.d/pgdg.list' | |
sudo wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add - | |
sudo apt-get update | |
sudo apt-get install postgresql-10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment