pg_dump: how to install on Amazon Linux for PostgreSQL 9.5.2?
<p>I used to install and do:</p>

<pre><code>$ sudo yum install -y postgresql94-server postgresql94
$ pg_dump -h name-of-db.us-east-1.rds.amazonaws.com -U user dbName &gt; dump
</code></pre>

<p>After RDS upgrade to 9.5.2 I get this:</p>

<pre><code>pg_dump: server version: 9.5.2; pg_dump version: 9.4.5
pg_dump: aborting because of server version mismatch
</code></pre>

<p>I can't find a proper package for Amazon Linux</p>

<p>This didn't help me: <a href="http://tecadmin.net/install-postgresql-9-5-on-centos/" rel="noreferrer">http://tecadmin.net/install-postgresql-9-5-on-centos/</a></p>

<p>Can you?</p>