How to Install and Uninstall libpq-dev Package on Debian 10 (Buster)

Last updated: May 21,2024

1. Install "libpq-dev" package

Here is a brief guide to show you how to install libpq-dev on Debian 10 (Buster)

$ sudo apt update $ sudo apt install libpq-dev

2. Uninstall "libpq-dev" package

Please follow the guidance below to uninstall libpq-dev on Debian 10 (Buster):

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

3. Information about the libpq-dev package on Debian 10 (Buster)

Package: libpq-dev
Source: postgresql-11
Version: 11.17-0+deb10u1
Installed-Size: 680
Maintainer: Debian PostgreSQL Maintainers
Architecture: amd64
Depends: libpq5 (= 11.17-0+deb10u1)
Suggests: postgresql-doc-11
Description: header files for libpq5 (PostgreSQL library)
Description-md5: 7f4362b106aae6b219ccc880faa1f04c
Homepage: http://www.postgresql.org/
Section: libdevel
Priority: optional
Filename: pool/updates/main/p/postgresql-11/libpq-dev_11.17-0+deb10u1_amd64.deb
Size: 166952
MD5sum: 2e2482a12f84f507539e0c6bba10fe2c
SHA256: 120d97d194bf18dcad79fb6cc0a3c4d17f2bf921a3f1a5cdb8113943b9cbdd38

Package: libpq-dev
Source: postgresql-11
Version: 11.14-0+deb10u1
Installed-Size: 679
Maintainer: Debian PostgreSQL Maintainers
Architecture: amd64
Depends: libpq5 (= 11.14-0+deb10u1)
Suggests: postgresql-doc-11
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-11/libpq-dev_11.14-0+deb10u1_amd64.deb
Size: 166584
MD5sum: b6b96343747cbd1f8040dd74013b8128
SHA256: 83a5111611cc805a18456945c923a4f5bee2405be5f5e6ca96d7043fcc4ba06c