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

Last updated: September 20,2024

1. Install "postgresql-client-15" package

Learn how to install postgresql-client-15 on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install postgresql-client-15

2. Uninstall "postgresql-client-15" package

This is a short guide on how to uninstall postgresql-client-15 on Debian 12 (Bookworm):

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

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

Package: postgresql-client-15
Source: postgresql-15
Version: 15.6-0+deb12u1
Installed-Size: 7906
Maintainer: Debian PostgreSQL Maintainers
Architecture: amd64
Provides: postgresql-client
Depends: libpq5 (>= 15.6), postgresql-client-common (>= 182~), sensible-utils, libc6 (>= 2.34), liblz4-1 (>= 0.0~r127), libreadline8 (>= 6.0), libssl3 (>= 3.0.0), libzstd1 (>= 1.5.2), zlib1g (>= 1:1.1.4)
Suggests: postgresql-15, postgresql-doc-15
Description: front-end programs for PostgreSQL 15
Description-md5: dfa598d2d49fa0efc749db97056d87b3
Homepage: http://www.postgresql.org/
Multi-Arch: foreign
Section: database
Priority: optional
Filename: pool/updates/main/p/postgresql-15/postgresql-client-15_15.6-0+deb12u1_amd64.deb
Size: 1697276
SHA256: f601421f0f075c78df0ee289fbe075f38f52d08362ff2907d1710c26d5e53c39

Package: postgresql-client-15
Source: postgresql-15
Version: 15.5-0+deb12u1
Installed-Size: 7906
Maintainer: Debian PostgreSQL Maintainers
Architecture: amd64
Provides: postgresql-client
Depends: libpq5 (>= 15.5), postgresql-client-common (>= 182~), sensible-utils, libc6 (>= 2.34), liblz4-1 (>= 0.0~r127), libreadline8 (>= 6.0), libssl3 (>= 3.0.0), libzstd1 (>= 1.5.2), zlib1g (>= 1:1.1.4)
Suggests: postgresql-15, postgresql-doc-15
Description: front-end programs for PostgreSQL 15
Description-md5: dfa598d2d49fa0efc749db97056d87b3
Multi-Arch: foreign
Homepage: http://www.postgresql.org/
Section: database
Priority: optional
Filename: pool/main/p/postgresql-15/postgresql-client-15_15.5-0+deb12u1_amd64.deb
Size: 1697208
MD5sum: 400adf761b347a762e04b934a7d318f2
SHA256: ba18ce5ac28cabd45110bfba994a3c27c29e372d17551a8aeec19f145df9d9cf