Skip to content

Instantly share code, notes, and snippets.

@caiofct
Created June 13, 2019 15:44
Show Gist options
  • Save caiofct/49870fc293e2a241e44fc64bed70e6b1 to your computer and use it in GitHub Desktop.
Save caiofct/49870fc293e2a241e44fc64bed70e6b1 to your computer and use it in GitHub Desktop.
Install Postgresql Client 10 on Amazon Linux AMI
```
sudo rpm -ivh --force https://yum.postgresql.org/testing/10/redhat/rhel-6-x86_64/postgresql10-libs-10.7-2PGDG.rhel6.x86_64.rpm
# Removing old postgresql 9.2 to avoid conflicts when installing the newest version
sudo yum remove postgresql92
sudo rpm -ivh --force https://yum.postgresql.org/testing/10/redhat/rhel-6-x86_64/postgresql10-10.7-2PGDG.rhel6.x86_64.rpm
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment