Skip to content

Instantly share code, notes, and snippets.

@ngpestelos
Created February 21, 2014 01:03
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ngpestelos/9126806 to your computer and use it in GitHub Desktop.
Save ngpestelos/9126806 to your computer and use it in GitHub Desktop.
Compile and Install PostgreSQL on OS X

Requirements

  • PostgreSQL source

Steps

Create a destination directory:

sudo mkdir -p /opt/local/pgsql

Unpack, configure, and build the source:

tar xvzf postgresql-9.3.3.tar.gz
cd postgresql-9.3.3
./configure --prefix=/opt/local/pgsql
make && sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment