How to Install and Uninstall postgresql-15 Package on Debian 12 (Bookworm)

Last updated: December 27,2024

1. Install "postgresql-15" package

Please follow the instructions below to install postgresql-15 on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install postgresql-15

2. Uninstall "postgresql-15" package

Here is a brief guide to show you how to uninstall postgresql-15 on Debian 12 (Bookworm):

$ sudo apt remove postgresql-15 $ sudo apt autoclean && sudo apt autoremove

3. Information about the postgresql-15 package on Debian 12 (Bookworm)

Package: postgresql-15
Version: 15.6-0+deb12u1
Installed-Size: 52667
Maintainer: Debian PostgreSQL Maintainers
Architecture: amd64
Provides: postgresql-15-jit-llvm (= 14), postgresql-contrib-15
Depends: locales | locales-all, postgresql-client-15, postgresql-common (>= 241~), ssl-cert, tzdata, debconf (>= 0.5) | debconf-2.0, libc6 (>= 2.34), libgcc-s1 (>= 3.0), libgssapi-krb5-2 (>= 1.14+dfsg), libicu72 (>= 72.1~rc-1~), libldap-2.5-0 (>= 2.5.4), libllvm14, liblz4-1 (>= 0.0~r130), libpam0g (>= 0.99.7.1), libpq5 (>= 14~beta2), libselinux1 (>= 3.1~), libssl3 (>= 3.0.0), libstdc++6 (>= 5.2), libsystemd0, libuuid1 (>= 2.16), libxml2 (>= 2.7.4), libxslt1.1 (>= 1.1.25), libzstd1 (>= 1.5.2), zlib1g (>= 1:1.1.4)
Breaks: dbconfig-common (<< 2.0.22~)
Description: The World's Most Advanced Open Source Relational Database
Description-md5: ff581fbc7eeb8143b9e56451b41dadfa
Homepage: http://www.postgresql.org/
Postgresql-Catversion: 202209061
Recommends: sysstat
Section: database
Priority: optional
Filename: pool/updates/main/p/postgresql-15/postgresql-15_15.6-0+deb12u1_amd64.deb
Size: 16791908
SHA256: d3f8f950a571148499b1ccd486ec254e06568fab5fc66266cd9143b1a9e11e31

Package: postgresql-15
Version: 15.5-0+deb12u1
Installed-Size: 52651
Maintainer: Debian PostgreSQL Maintainers
Architecture: amd64
Provides: postgresql-15-jit-llvm (= 14), postgresql-contrib-15
Depends: locales | locales-all, postgresql-client-15, postgresql-common (>= 241~), ssl-cert, tzdata, debconf (>= 0.5) | debconf-2.0, libc6 (>= 2.34), libgcc-s1 (>= 3.0), libgssapi-krb5-2 (>= 1.14+dfsg), libicu72 (>= 72.1~rc-1~), libldap-2.5-0 (>= 2.5.4), libllvm14, liblz4-1 (>= 0.0~r130), libpam0g (>= 0.99.7.1), libpq5 (>= 14~beta2), libselinux1 (>= 3.1~), libssl3 (>= 3.0.0), libstdc++6 (>= 5.2), libsystemd0, libuuid1 (>= 2.16), libxml2 (>= 2.7.4), libxslt1.1 (>= 1.1.25), libzstd1 (>= 1.5.2), zlib1g (>= 1:1.1.4)
Recommends: sysstat
Breaks: dbconfig-common (<< 2.0.22~)
Description: The World's Most Advanced Open Source Relational Database
Description-md5: ff581fbc7eeb8143b9e56451b41dadfa
Homepage: http://www.postgresql.org/
Postgresql-Catversion: 202209061
Section: database
Priority: optional
Filename: pool/main/p/postgresql-15/postgresql-15_15.5-0+deb12u1_amd64.deb
Size: 16792020
MD5sum: 7fe90773ba7edeff9a88e28d4acb3133
SHA256: 9b2f5e99d2bd6ba5e337ba13fc9757f3c1f7acbbd2caad4d395f035eb3316923

5. The same packages on other Linux Distributions