How to Install and Uninstall libpq5 Package on Debian 10 (Buster)

Last updated: May 16,2024

1. Install "libpq5" package

This guide covers the steps necessary to install libpq5 on Debian 10 (Buster)

$ sudo apt update $ sudo apt install libpq5

2. Uninstall "libpq5" package

This guide let you learn how to uninstall libpq5 on Debian 10 (Buster):

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

3. Information about the libpq5 package on Debian 10 (Buster)

Package: libpq5
Source: postgresql-11
Version: 11.17-0+deb10u1
Installed-Size: 756
Maintainer: Debian PostgreSQL Maintainers
Architecture: amd64
Depends: libc6 (>= 2.14), libgssapi-krb5-2 (>= 1.17), libldap-2.4-2 (>= 2.4.7), libssl1.1 (>= 1.1.0)
Description: PostgreSQL C client library
Description-md5: 4109d08c168c8058d09c0cc8bf8b18b1
Homepage: http://www.postgresql.org/
Multi-Arch: same
Section: libs
Priority: optional
Filename: pool/updates/main/p/postgresql-11/libpq5_11.17-0+deb10u1_amd64.deb
Size: 172680
MD5sum: cb7d5a995aa0f483b3abac2fe29c0847
SHA256: 7c6042e8263af7db3ac5ce10b2adca21459460875e946714bf6118e4c301fe76

Package: libpq5
Source: postgresql-11
Version: 11.14-0+deb10u1
Installed-Size: 753
Maintainer: Debian PostgreSQL Maintainers
Architecture: amd64
Depends: libc6 (>= 2.14), libgssapi-krb5-2 (>= 1.17), libldap-2.4-2 (>= 2.4.7), libssl1.1 (>= 1.1.0)
Description: PostgreSQL C client library
Description-md5: 4109d08c168c8058d09c0cc8bf8b18b1
Multi-Arch: same
Homepage: http://www.postgresql.org/
Tag: role::shared-lib
Section: libs
Priority: optional
Filename: pool/main/p/postgresql-11/libpq5_11.14-0+deb10u1_amd64.deb
Size: 171160
MD5sum: c11bf9f43cd6e9aa31188f4750b28af6
SHA256: 964ce5fbc71d17d607ee46513d24ce907f7078895fadc4bdf36a68707b666b4d