Skip site navigation (1) Skip section navigation (2)

PostgreSQL in Debian

The repository is moving to See for instructions for updating your sources.list. will be shut down on January 31st, 2013.

We aim at building PostgreSQL extensions and modules on several Debian releases for all PostgreSQL versions supported.

Currently, we support

  • Debian 6.0 (squeeze)
  • Debian 7.0 (wheezy)
  • Debian unstable (sid)
  • PostgreSQL 8.3
  • PostgreSQL 8.4
  • PostgreSQL 9.0
  • PostgreSQL 9.1
  • PostgreSQL 9.2

We plan to also add support for Ubuntu. Packages for older PostgreSQL versions and older Debian distributions will be added on an ad-hoc basis.

Using the repository

Depending on your Debian version, use one of the following lines in your /etc/apt/sources.list:
  • Debian 6.0 (squeeze):
    deb squeeze-pgdg main
  • Debian 7.0 (wheezy):
    deb wheezy-pgdg main
The repository is signed with gpg key ACCC4CF8. (Import with "apt-key add ACCC4CF8.asc".)


  • 2012-10-13: Repository key renewed with new expiry date.
  • 2012-10-02: Minor releases 9.2.1, 9.1.6, 9.0.10, 8.4.14, 8.3.21 built
  • 2012-09-15: 9.2.0 is in the repository
  • 2012-08-22: PostgreSQL in Debian Hackathon: Blog posting and notes
    The distribution names changed from *-pgapt to *-pgdg, please update your sources.list.
  • 2012-06-07: 9.2 added, Lenny marked unsupported now
  • 2012-06-07: separate components "9.0", "9.2" etc added for libpq5/libpg-dev/lib... packages that would otherwise overwrite packages from other versions in the same suite. To install these packages:
    deb squeeze-pgdg main 9.0 9.2
    deb wheezy-pgdg main 9.0 9.2
    (Usually, using the latest stable libpq5 version will be ok for users. The packages built from other PostgreSQL versions are provided only for completeness.)




  • (Archives)
  • #postgresql-apt @
  • Christoph Berg <>, Dimitri Fontaine <>, Magnus Hagander <>

Privacy Policy | About PostgreSQL
Copyright © 1996-2012 The PostgreSQL Global Development Group