How to Install and Uninstall libpq5 Package on Debian 11 (Bullseye)

Last updated: May 18,2024

1. Install "libpq5" package

This tutorial shows how to install libpq5 on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install libpq5

2. Uninstall "libpq5" package

Here is a brief guide to show you how to uninstall libpq5 on Debian 11 (Bullseye):

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

3. Information about the libpq5 package on Debian 11 (Bullseye)

Package: libpq5
Source: postgresql-13
Version: 13.7-0+deb11u1
Installed-Size: 788
Maintainer: Debian PostgreSQL Maintainers
Architecture: amd64
Depends: libc6 (>= 2.25), 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-13/libpq5_13.7-0+deb11u1_amd64.deb
Size: 180024
MD5sum: 891ab205001b7be915b6f7229f26cdbd
SHA256: 323d532c48649b7471ae8a6dcb66d0233999ff30f923f37e101560922ab26c0d