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

Last updated: May 16,2024

1. Install "postgresql-client" package

Here is a brief guide to show you how to install postgresql-client on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install postgresql-client

2. Uninstall "postgresql-client" package

Please follow the step by step instructions below to uninstall postgresql-client on Debian 12 (Bookworm):

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

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

Package: postgresql-client
Source: postgresql-common (248)
Version: 15+248
Installed-Size: 15
Maintainer: Debian PostgreSQL Maintainers
Architecture: all
Depends: postgresql-client-15
Description: front-end programs for PostgreSQL (supported version)
Description-md5: d46431edbfde0d6360f2c20aed4a288c
Multi-Arch: foreign
Tag: devel::lang:sql, interface::commandline, network::client,
role::metapackage, role::program, suite::postgresql, works-with::db
Section: database
Priority: optional
Filename: pool/main/p/postgresql-common/postgresql-client_15+248_all.deb
Size: 10108
MD5sum: db1e9917e45704070cdd0ce26bba6eea
SHA256: 3c16150d75e91e4a9662b80059da3c6a0cac16d806d1556efcb476329bc8561f