How to install PostgreSQL 9.5 to Amazon Linux 2015.09 ? - Mailing list pgsql-pkg-yum

From Сергей Нагайцев
Subject How to install PostgreSQL 9.5 to Amazon Linux 2015.09 ?
Date
Msg-id CAFq==nvC3APeHMkBY1EbEndrZ1i+sHCF1_AYccktWv2gUGi3MA@mail.gmail.com
Whole thread Raw
List pgsql-pkg-yum
I tried repository packages from different RHEL-like distros, they all depend on something like 'centos-release' or 'redhat-release', but my OS instead has 'system-release'.

Just tried installing it as `rpm --nodep -i $URL` - seemingly succeeded, but repo has $releasever in it, saying 'latest' and so pointing to 404

Now I try to install repo manually as text file and GPG key.

How safe is it from dependency/version standpoint ?
Is building from source (micro instance!) a more feasible option ?

pgsql-pkg-yum by date:

Previous
From: Tushar Motghare
Date:
Subject: Requires rpm for fresh installation of Postgres 9.3.0 database for Oracle Linux 64 bit
Next
From: John Harvey
Date:
Subject: Small JDBC housekeeping