Compile and Install from source code
From PostgreSQL wiki
Revision as of 23:22, 12 November 2013 by Selena
These are a set of instructions for building Postgres from a source archive.
Acquire the source code
The mirror of Postgres on Github provides a "download a zip archive"
Per OS instructions
The following packages are needed for building Postgres, including ssl support:
sudo yum install -y bison-devel readline-devel zlib-devel openssl-devel wget sudo yum groupinstall -y 'Development Tools'