![]() You can run with the full executable paths ( /usr/local/pgsql/bin/psql) or prepend the new directory at the beginning of your $PATH so that the system will look it up first:Įdit ~/. still point to the old version of the psql client. Now, keep in mind that commands psql, pg_dump etc. The new package should be installed with all its executables in here: /usr/local/pgsql/bin Note: The link below points to postgresql 10.4, you may want to check for newer subversions sudo yum install -y gcc readline-devel zlib-devel We're using VERSION="2018.03" of Amazon Linux AMI in our pipelines. Since none of the previous answers worked for me, I'm adding a solution that let me install the postgresql10 client. With this repository, you will be able to find PostgreSQL and related RPMs for your favourite platform. ![]() PostgreSQL RPM Building Project announced the new yum repository. May still install step by step all dependencies and the server with: yum install -y You will find details on PostgreSQL related RPMs for Fedora / Red Hat / CentOS / Scientific Linux, like pgAdmin, Slony-I, PostGIS, etc. ![]() Since postgresql10 is not yet available, adding extra yum repo is the only solution per today.Įrror: Package: Note! Amazon Linux 2 provides additional package installation through Amazon Linux Extras Repository ( amazon-linux-extras) ((client only)). Install PostgreSQL Client v10 $ sudo yum install -y postgresql10 Install RHEL 7 yum repo for PostgreSQL $ sudo yum install -y You may run into compatibility issues if you select old version of Amazon Linux (Amazon linux 1) for the below steps, otherwise it should work fine in the latest version Amazon Linux 2.Ĭheck Amazon Linux version $ cat /etc/system-releaseĪmazon Linux release 2.0 (2017.12) LTS Release Candidate Packages/Repos which is designed to work of RedHat will work on Amazon Linux also, Amazon Linux is a minimal-install version of RHEL.
0 Comments
Leave a Reply. |