How to Install and Uninstall postgresql-client Package on Debian 10 (Buster)

Last updated: April 29,2024

1. Install "postgresql-client" package

Please follow the guidance below to install postgresql-client on Debian 10 (Buster)

$ sudo apt update $ sudo apt install postgresql-client

2. Uninstall "postgresql-client" package

Learn how to uninstall postgresql-client on Debian 10 (Buster):

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

3. Information about the postgresql-client package on Debian 10 (Buster)

Package: postgresql-client
Source: postgresql-common (200+deb10u4)
Version: 11+200+deb10u4
Installed-Size: 65
Maintainer: Debian PostgreSQL Maintainers
Architecture: all
Depends: postgresql-client-11
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_11+200+deb10u4_all.deb
Size: 61084
MD5sum: 600cfb91fc999f4246cd629cc6932d36
SHA256: 98611bae13f6fa26611166e45d676be749e2d070f2adaf929ee2e8f580bbd30d

Package: postgresql-client
Source: postgresql-common (200+deb10u3)
Version: 11+200+deb10u3
Installed-Size: 64
Maintainer: Debian PostgreSQL Maintainers
Architecture: all
Depends: postgresql-client-11
Description: front-end programs for PostgreSQL (supported version)
Description-md5: d46431edbfde0d6360f2c20aed4a288c
Multi-Arch: foreign
Section: database
Priority: optional
Filename: pool/updates/main/p/postgresql-common/postgresql-client_11+200+deb10u3_all.deb
Size: 60880
MD5sum: 31b50e58391fe5a92d0c5d315ff3dd64
SHA256: 40c6ba7c05de099a611481a69c976d6ce6aaaddcdd05d462d4fcc2f1f70451ac