Last active
November 10, 2017 08:32
-
-
Save kszarek/d8cd31fa85c886f85cd3 to your computer and use it in GitHub Desktop.
Install postgres 9.4 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
| #!/bin/bash | |
| echo 'deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main' > /etc/apt/sources.list.d/pgdg.list | |
| wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - | |
| apt-get -q update | |
| apt-get -y install postgresql-client-9.4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment