Installing postgresql 9.2 in Ubuntu 13.04 (2013 August)

Ubuntu doesn't like PostgreSQL 9.2 because it breaks other packages (see explanation in stackoverflow). We need to use PostgreSQL own apt repository:

prompt$ sudo sh -c  "echo 'deb squeeze-pgdg main' > /etc/apt/sources.list.d/pgdg.list"
prompt$ wget --quiet -O - | sudo apt-key add -
prompt$ sudo apt-get update
prompt$ sudo apt-get install postgresql

That's all 🙂

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *