How to Install and Uninstall postgresql-client Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 16,2024

1. Install "postgresql-client" package

This guide let you learn how to install postgresql-client on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install postgresql-client

2. Uninstall "postgresql-client" package

Please follow the guidelines below to uninstall postgresql-client on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the postgresql-client package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: postgresql-client
Architecture: all
Version: 9.5+173ubuntu0.3
Multi-Arch: foreign
Priority: optional
Section: database
Source: postgresql-common (173ubuntu0.3)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PostgreSQL Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 58
Depends: postgresql-client-9.5
Filename: pool/main/p/postgresql-common/postgresql-client_9.5+173ubuntu0.3_all.deb
Size: 5412
MD5sum: 26aadb51bf5069bcfb367d3bb30aa831
SHA1: a98c71aa1203b4e82b4467a2872cf75612c0ba6e
SHA256: 9c5c60d3d13ae8b7042e375257341dd725ccd5adf9e23d97886f511b8dc4cc9b
SHA512: 086cb708b4335794da98305f341f23bac5466ea18c3c691ba7f3434df18145b9fe483b0e0984d7cffd7f4b37d72513fbe6ca03a9008d488c8ab624a7743b0861
Description-en: front-end programs for PostgreSQL (supported version)
This metapackage always depends on the currently supported database
client package for PostgreSQL.
.
PostgreSQL is a fully featured object-relational database management
system. It supports a large part of the SQL standard and is designed
to be extensible by users in many aspects. Some of the features are:
ACID transactions, foreign keys, views, sequences, subqueries,
triggers, user-defined types and functions, outer joins, multiversion
concurrency control. Graphical user interfaces and bindings for many
programming languages are available as well.
Description-md5: d46431edbfde0d6360f2c20aed4a288c
Task: postgresql-server
Supported: 5y

Package: postgresql-client
Priority: optional
Section: database
Installed-Size: 58
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PostgreSQL Maintainers
Architecture: all
Source: postgresql-common (173)
Version: 9.5+173
Depends: postgresql-client-9.5
Filename: pool/main/p/postgresql-common/postgresql-client_9.5+173_all.deb
Size: 5350
MD5sum: 5c71d122f8b85d5d57f5dbc3b684e2f7
SHA1: b1515e39d66f81458c2160baa791265b215b1d91
SHA256: cdb34487602b514b2a305fb330af7513fecf5007d3725ad6bbc9b754a1170d39
Description-en: front-end programs for PostgreSQL (supported version)
This metapackage always depends on the currently supported database
client package for PostgreSQL.
.
PostgreSQL is a fully featured object-relational database management
system. It supports a large part of the SQL standard and is designed
to be extensible by users in many aspects. Some of the features are:
ACID transactions, foreign keys, views, sequences, subqueries,
triggers, user-defined types and functions, outer joins, multiversion
concurrency control. Graphical user interfaces and bindings for many
programming languages are available as well.
Description-md5: d46431edbfde0d6360f2c20aed4a288c
Multi-Arch: foreign
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 5y
Task: postgresql-server