How to Install and Uninstall postgresql-client-16 Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: November 05,2024

1. Install "postgresql-client-16" package

This guide let you learn how to install postgresql-client-16 on Ubuntu 24.04 LTS (Noble Numbat)

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

2. Uninstall "postgresql-client-16" package

Please follow the guidelines below to uninstall postgresql-client-16 on Ubuntu 24.04 LTS (Noble Numbat):

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

3. Information about the postgresql-client-16 package on Ubuntu 24.04 LTS (Noble Numbat)

Package: postgresql-client-16
Architecture: amd64
Version: 16.2-1
Multi-Arch: foreign
Priority: optional
Section: database
Source: postgresql-16
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PostgreSQL Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 3976
Provides: postgresql-client
Depends: libpq5 (>= 16.2), postgresql-client-common (>= 182~), sensible-utils, libc6 (>= 2.38), liblz4-1 (>= 0.0~r127), libreadline8 (>= 6.0), libssl3 (>= 3.0.0), libzstd1 (>= 1.5.5), zlib1g (>= 1:1.1.4)
Suggests: postgresql-16, postgresql-doc-16
Filename: pool/main/p/postgresql-16/postgresql-client-16_16.2-1_amd64.deb
Size: 1268608
MD5sum: f7b45ab15f27be5a03bc4ccbda812d71
SHA1: 2174227bb4654f85ffab468b0e339bddfa10746a
SHA256: ed2572d4b6e9d978417f6184c9e92545e725f062a73bf828332c721b0a2683e1
SHA512: cc05f526cd907f80018df9293c3a192e6f606516e270565b731f1ace86c22ad7f30b1b93d8a7a504bf84e9ae37ebffb2c4606533c4c97902ca1182b92dc56332
Homepage: http://www.postgresql.org/
Description: front-end programs for PostgreSQL 16
Description-md5: cffb2bf3aada7d967baed49eeaae26d6
Task: postgresql-server

5. The same packages on other Linux Distributions