How to install postgres 8.4 on Debian 5 (lenny)
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 |
- March 6th
And how can I activate the php function after the installation of postgres?
apt-get install php5-pgsql
/etc/init.d/apache2 restart
I don’t find package postgresql-8.3-pljava-gcj
Is it available?
Sorry, for 8.3 it is available. I meant postgresql-8.4-pljava-gcj