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

Last updated: June 26,2024

1. Install "postgresql-client-9.5" package

Please follow the steps below to install postgresql-client-9.5 on Ubuntu 16.04 LTS (Xenial Xerus)

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

2. Uninstall "postgresql-client-9.5" package

This is a short guide on how to uninstall postgresql-client-9.5 on Ubuntu 16.04 LTS (Xenial Xerus):

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

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

Package: postgresql-client-9.5
Architecture: amd64
Version: 9.5.25-0ubuntu0.16.04.1
Multi-Arch: foreign
Priority: optional
Section: database
Source: postgresql-9.5
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PostgreSQL Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 3128
Provides: postgresql-client
Depends: libc6 (>= 2.15), libedit2 (>= 2.11-20080614), libpq5 (>= 9.5.25), zlib1g (>= 1:1.1.4), postgresql-client-common (>= 142~)
Suggests: postgresql-9.5, postgresql-doc-9.5
Filename: pool/main/p/postgresql-9.5/postgresql-client-9.5_9.5.25-0ubuntu0.16.04.1_amd64.deb
Size: 878072
MD5sum: fd47fae36322d3c280f97e4c3217b07c
SHA1: ef0b25104539e4bd41ed58d380ab77bc0d58fd08
SHA256: 1cbab290a1a2500b4016f17f0e4865b2ebf3b6c4c50721d296d0a18bc8972243
SHA512: f77535daa0e876f25a4c7ed0f72394c90563ff8b946c2c7202c1f5bb30883acdfbc8d557a54108a8daba43ebabd649421719a84ba45897bb33f153f8c1708897
Homepage: http://www.postgresql.org/
Description-en: front-end programs for PostgreSQL 9.5
This package contains client and administrative programs for
PostgreSQL: these are the interactive terminal client psql and
programs for creating and removing users and databases.
.
This is the client package for PostgreSQL 9.5. If you install
PostgreSQL 9.5 on a standalone machine, you need the server package
postgresql-9.5, too. On a network, you can install this package on
many client machines, while the server package may be installed on
only one machine.
.
PostgreSQL is an object-relational SQL database management system.
Description-md5: e6381e9bab1a4387ee367c0d6d0ecf4f
Task: postgresql-server
Supported: 5y

Package: postgresql-client-9.5
Architecture: amd64
Version: 9.5.24-0ubuntu0.16.04.1
Multi-Arch: foreign
Priority: optional
Section: database
Source: postgresql-9.5
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PostgreSQL Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 3128
Provides: postgresql-client
Depends: libc6 (>= 2.15), libedit2 (>= 2.11-20080614), libpq5 (>= 9.5.24), zlib1g (>= 1:1.1.4), postgresql-client-common (>= 142~)
Suggests: postgresql-9.5, postgresql-doc-9.5
Filename: pool/main/p/postgresql-9.5/postgresql-client-9.5_9.5.24-0ubuntu0.16.04.1_amd64.deb
Size: 877398
MD5sum: 7f5bf1e470522bd7d147bb9c8b85cd94
SHA1: 73282606b16b2d62ed20f146696d5a53549f8373
SHA256: f0cbac9fb597b36ce620d6fd27caa018cbb5b597f7da5febfb828b55fd06c0fa
SHA512: 4edcf283623becaf0fd7812dbd50535f3ed7b287eb5c5ef7451a1373e0a9a04d4c8575824933a374b85d317622a4de2dba043d266aee936f720f6c9e781a4478
Homepage: http://www.postgresql.org/
Description-en: front-end programs for PostgreSQL 9.5
This package contains client and administrative programs for
PostgreSQL: these are the interactive terminal client psql and
programs for creating and removing users and databases.
.
This is the client package for PostgreSQL 9.5. If you install
PostgreSQL 9.5 on a standalone machine, you need the server package
postgresql-9.5, too. On a network, you can install this package on
many client machines, while the server package may be installed on
only one machine.
.
PostgreSQL is an object-relational SQL database management system.
Description-md5: e6381e9bab1a4387ee367c0d6d0ecf4f
Task: postgresql-server
Supported: 5y

Package: postgresql-client-9.5
Priority: optional
Section: database
Installed-Size: 2952
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PostgreSQL Maintainers
Architecture: amd64
Source: postgresql-9.5
Version: 9.5.2-1
Provides: postgresql-client
Depends: libc6 (>= 2.15), libedit2 (>= 2.11-20080614), libpq5 (>= 9.5.2), zlib1g (>= 1:1.1.4), postgresql-client-common (>= 142~)
Suggests: postgresql-9.5, postgresql-doc-9.5
Filename: pool/main/p/postgresql-9.5/postgresql-client-9.5_9.5.2-1_amd64.deb
Size: 857566
MD5sum: 495def9e62ff9ca43d6c5251a3b0c1bf
SHA1: 6d413621db461114e6057957f2939c7d2ea8e37f
SHA256: 2a219588620cb7cd140446dda723e721708605bd376fcd34c3332169a4f56f01
Description-en: front-end programs for PostgreSQL 9.5
This package contains client and administrative programs for
PostgreSQL: these are the interactive terminal client psql and
programs for creating and removing users and databases.
.
This is the client package for PostgreSQL 9.5. If you install
PostgreSQL 9.5 on a standalone machine, you need the server package
postgresql-9.5, too. On a network, you can install this package on
many client machines, while the server package may be installed on
only one machine.
.
PostgreSQL is an object-relational SQL database management system.
Description-md5: e6381e9bab1a4387ee367c0d6d0ecf4f
Multi-Arch: foreign
Homepage: http://www.postgresql.org/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 5y
Task: postgresql-server