How to Install and Uninstall postgresql-client Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: May 08,2024

1. Install "postgresql-client" package

Please follow the guidelines below to install postgresql-client on Ubuntu 22.04 LTS (Jammy Jellyfish)

$ sudo apt update $ sudo apt install postgresql-client

2. Uninstall "postgresql-client" package

Please follow the guidelines below to uninstall postgresql-client on Ubuntu 22.04 LTS (Jammy Jellyfish):

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

3. Information about the postgresql-client package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Package: postgresql-client
Architecture: all
Version: 14+238
Multi-Arch: foreign
Priority: optional
Section: database
Source: postgresql-common (238)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PostgreSQL Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 70
Depends: postgresql-client-14
Filename: pool/main/p/postgresql-common/postgresql-client_14+238_all.deb
Size: 3292
MD5sum: 5df1bd90fcd6678d2b080362d1209a53
SHA1: d09b498d28ee58a58c12fd383d8d93e171efc766
SHA256: 58b7b9b219f54e76178a577bbdb2d66192d8542e106d322261216dc3476f0248
SHA512: 0eacfdfde21e0a54da403b0498f4a41bbff4e6e5ec26ad6f2c3cf30b32937c6390c2a76247928595ae556672b2c0758361942d9bbb44dd677fc554910fef330c
Description: front-end programs for PostgreSQL (supported version)
Description-md5: d46431edbfde0d6360f2c20aed4a288c
Task: postgresql-server