: Ubuntu groovy (20.10) and hirsute (21.04) have been migrated to.: Ubuntu impish (21.10) is no longer supported.: Debian stretch (9) is no longer supported and will be removed from at the end of October.
Postgresql documentation install#
If you rather want to stay with a particular PostgreSQL version, you should install specific packages like "postgresql-11" instead of "postgresql".įor packages of development/alpha/beta versions of PostgreSQL, see the FAQ entry about beta versions.
Once a new PostgreSQL version is released, these meta-packages will be updated to depend on the new version. packages, similar to the ones present in Debian and Ubuntu. Note: This repository provides "postgresql", "postgresql-contrib", and "postgresql-client" meta-packages that depend on the latest postgresql-x.y. Note that the shell script leaves the source package repo (deb-src) commented out if you need source packages, you will need to modify /etc/apt//pgdg.list to enable it. Sudo sh /usr/share/postgresql-common/pgdg/ The script is included in the postgresql-common package in Debian and Ubuntu, so you can also run it straight from there:
Postgresql documentation update#
Sudo sh -c 'echo "deb $(lsb_release -cs)-pgdg main" > /etc/apt//pgdg.list'įinally, update the package lists, and start installing packages:Īlternately, this shell script will automate the repository setup. For a script version of the above file creation, presuming you are using a supported release: (You may determine the codename of your distribution by running lsb_release -c). In the example, replace buster with the actual distribution you are using. The distributions are called codename -pgdg. Sudo apt install curl ca-certificates gnupgĬurl | gpg -dearmor | sudo tee /etc/apt// >/dev/nullĬreate /etc/apt//pgdg.list. Packages for older PostgreSQL versions and older Debian/Ubuntu distributions are deprecated but will continue to stay in the repository (or be moved to ), and will usually not be updated anymore. Applications like omnidb, pgbouncer, and pgpool-II.
Server extensions such as Slony-I, various PL languages, and datatypes.Architectures: amd64 (64-bit x86), i386 (32-bit x86, being phased out), arm64 (64-bit ARM), ppc64el (little-endian 64-bit POWER).Debian 10 (buster), 11 (bullseye), 12 (bookworm), and unstable (sid).We aim at building PostgreSQL server packages as well as extensions and modules packages on several Debian/Ubuntu releases for all PostgreSQL versions supported. The PostgreSQL Global Development Group (PGDG) maintains an APT repository of PostgreSQL packages for Debian and Ubuntu located at. PostgreSQL packages for Debian and Ubuntu