How to Install and Uninstall postgresql-client Package on Debian 11 (Bullseye)

Last updated: May 16,2024

1. Install "postgresql-client" package

In this section, we are going to explain the necessary steps to install postgresql-client on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install postgresql-client

2. Uninstall "postgresql-client" package

Please follow the guidelines below to uninstall postgresql-client on Debian 11 (Bullseye):

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

3. Information about the postgresql-client package on Debian 11 (Bullseye)

Package: postgresql-client
Source: postgresql-common (225)
Version: 13+225
Installed-Size: 68
Maintainer: Debian PostgreSQL Maintainers
Architecture: all
Depends: postgresql-client-13
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_13+225_all.deb
Size: 64764
MD5sum: e2541123b7800400f6aff5928e2e89b4
SHA256: 971828b85bf679d658e81fe9dac41daae384ed5a3eb24c19e659f253995e954d