Because I didn’t found this information in one place I’m writing this quick “guide” on how to install PostgreSQL 8.4.x on Debian 5.x “lenny”.
Debian lenny stable packages are bundled with Postgres 8.3.x but thanks to Debian Backports the newer Postgres version is available for lenny.
Simply do it
Add the backports-sources (/etc/apt/sources.list) and update (apt-get update)
deb http://www.backports.org/debian lenny-backports main contrib non-free |
Install postgres
apt-get -t lenny-backports install postgresql-8.4 |