How to Install and Uninstall libpq5 Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 16,2024

1. Install "libpq5" package

This is a short guide on how to install libpq5 on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install libpq5

2. Uninstall "libpq5" package

This is a short guide on how to uninstall libpq5 on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove libpq5 $ sudo apt autoclean && sudo apt autoremove

3. Information about the libpq5 package on Ubuntu 21.10 (Impish Indri)

Package: libpq5
Architecture: amd64
Version: 13.5-0ubuntu0.21.10.1
Multi-Arch: same
Priority: optional
Section: libs
Source: postgresql-13
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PostgreSQL Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 400
Depends: libc6 (>= 2.33), libgssapi-krb5-2 (>= 1.17), libldap-2.5-0 (>= 2.5.4), libssl1.1 (>= 1.1.0)
Filename: pool/main/p/postgresql-13/libpq5_13.5-0ubuntu0.21.10.1_amd64.deb
Size: 139058
MD5sum: 0d5b495bc0631de171d3c7197b5c2ae0
SHA1: 39c895d3033d57b0646e542ed82d01c59f550aeb
SHA256: f136f9dadd9608681b480b3d60620513dc5de98994412586d907fd1f14418fa1
SHA512: 226bb2f5c76e14e49512ef508993007458aae2a90ecb94d955c400c25901337d02375fb95d042f711e58b5c064a2dde8ea22bdb844ca4be6ddd011d175e82ddd
Homepage: http://www.postgresql.org/
Description-en: PostgreSQL C client library
libpq is a C library that enables user programs to communicate with
the PostgreSQL database server. The server can be on another machine
and accessed through TCP/IP. This version of libpq is compatible
with servers from PostgreSQL 8.2 or later.
.
This package contains the run-time library, needed by packages using
libpq.
.
PostgreSQL is an object-relational SQL database management system.
Description-md5: 4109d08c168c8058d09c0cc8bf8b18b1
Task: postgresql-server, ubuntustudio-video, ubuntustudio-publishing, ubuntustudio-photography, ubuntustudio-graphics, ubuntukylin-desktop

Package: libpq5
Architecture: amd64
Version: 13.4-1
Multi-Arch: same
Priority: optional
Section: libs
Source: postgresql-13
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PostgreSQL Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 400
Depends: libc6 (>= 2.33), libgssapi-krb5-2 (>= 1.17), libldap-2.5-0 (>= 2.5.4), libssl1.1 (>= 1.1.0)
Filename: pool/main/p/postgresql-13/libpq5_13.4-1_amd64.deb
Size: 138658
MD5sum: 79d06ed3ededa9bdbd746cd85a3bd605
SHA1: d03768fca6c0036f61345349ab76336c26d6310d
SHA256: 58e3bca2ed127e66a6e39c5083331fff2fb7ab9022b6226861ca63e3cc8be67f
SHA512: a6b447f1cbf5a5fadf57e6db65b84861dd75aa5d9bf7905651c1d4eedbc4022ec4e494b4424dde556f626797e0c6456611f625c2e0cf724b253064a1becfff15
Homepage: http://www.postgresql.org/
Description-en: PostgreSQL C client library
libpq is a C library that enables user programs to communicate with
the PostgreSQL database server. The server can be on another machine
and accessed through TCP/IP. This version of libpq is compatible
with servers from PostgreSQL 8.2 or later.
.
This package contains the run-time library, needed by packages using
libpq.
.
PostgreSQL is an object-relational SQL database management system.
Description-md5: 4109d08c168c8058d09c0cc8bf8b18b1
Task: postgresql-server, ubuntustudio-video, ubuntustudio-publishing, ubuntustudio-photography, ubuntustudio-graphics, ubuntukylin-desktop