If you need to install Postgres 9.3 with development headers (i.e. so that you can compile extensions to Postgres) then hopefully this post can help you. Firstly – don’t use the official Postgres PPA because it only provides binaries and not sources.
So, use Chris-Les Postgress PPA found here:
https://launchpad.net/~chris-lea/+archive/postgresql-9.3
sudo add-apt-repository ppa:chris-lea/postgresql-9.3 sudo apt-get update sudo apt-get install postgresql-server-dev-9.3
I hope this help someone.
Perfect…..Thank you!
You’ll likely have to run “sudo apt-get update” in between those two steps.
Very true. Thanks, I’ve updated the post.
Fantastic! Thank you!
thank you!
How to start it?
Should be the standard:
postgres -D /usr/local/pgsql/data