How to Install and Uninstall libpq-dev Package on Debian 11 (Bullseye)

Last updated: May 21,2024

1. Install "libpq-dev" package

Please follow the step by step instructions below to install libpq-dev on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install libpq-dev

2. Uninstall "libpq-dev" package

Learn how to uninstall libpq-dev on Debian 11 (Bullseye):

$ sudo apt remove libpq-dev $ sudo apt autoclean && sudo apt autoremove

3. Information about the libpq-dev package on Debian 11 (Bullseye)

Package: libpq-dev
Source: postgresql-13
Version: 13.7-0+deb11u1
Installed-Size: 555
Maintainer: Debian PostgreSQL Maintainers
Architecture: amd64
Depends: libpq5 (= 13.7-0+deb11u1)
Suggests: postgresql-doc-13
Description: header files for libpq5 (PostgreSQL library)
Description-md5: 7f4362b106aae6b219ccc880faa1f04c
Homepage: http://www.postgresql.org/
Tag: devel::library, role::devel-lib
Section: libdevel
Priority: optional
Filename: pool/main/p/postgresql-13/libpq-dev_13.7-0+deb11u1_amd64.deb
Size: 138600
MD5sum: bcfe3a6db2529fe9b1bd01c76d3c2d75
SHA256: 38f4ba1f0d33cd39447c8e51bfb5b547b2f7821bf391c208b77c71aab72fa6cf