Created
June 22, 2016 23:17
-
-
Save davemcp/c5367ad24e933914fd10ab159bb49ffd to your computer and use it in GitHub Desktop.
Install Postgres client 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
| sudo sh -c "echo 'deb http://apt.postgresql.org/pub/repos/apt/ xenial-pgdg main' > /etc/apt/sources.list.d/pgdg.list" | |
| wget --quiet -O - http://apt.postgresql.org/pub/repos/apt/ACCC4CF8.asc | sudo apt-key add - | |
| sudo apt-get update | |
| sudo apt-get install postgresql-9.5-postgis-2.2 postgresql-contrib-9.5 | |
| sudo apt-get install postgresql-common | |
| sudo apt-get install postgresql-9.5 libpq-dev | |
| sudo apt-get install postgresql-9.5-pgrouting | |
| sudo apt-get pgadmin3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment