How to Install and Uninstall libpq-dev Package on Ubuntu 21.04 (Hirsute Hippo)
Last updated: February 01,2025
1. Install "libpq-dev" package
This guide covers the steps necessary to install libpq-dev on Ubuntu 21.04 (Hirsute Hippo)
$
sudo apt update
Copied
$
sudo apt install
libpq-dev
Copied
2. Uninstall "libpq-dev" package
Please follow the guidelines below to uninstall libpq-dev on Ubuntu 21.04 (Hirsute Hippo):
$
sudo apt remove
libpq-dev
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the libpq-dev package on Ubuntu 21.04 (Hirsute Hippo)
Package: libpq-dev
Architecture: amd64
Version: 13.3-0ubuntu0.21.04.1
Priority: optional
Section: libdevel
Source: postgresql-13
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PostgreSQL Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 553
Depends: libpq5 (= 13.3-0ubuntu0.21.04.1)
Suggests: postgresql-doc-13
Filename: pool/main/p/postgresql-13/libpq-dev_13.3-0ubuntu0.21.04.1_amd64.deb
Size: 131844
MD5sum: 8f5f1e6ec02757ebf39dc9b2dcf130c8
SHA1: 2d3a38888b188059cc5b122a3333688345d655ed
SHA256: cee75e5f3ed358c981f8f8bbf6abca009901d3c4d8069f175bda06f288271855
SHA512: 69950fd4233835d9cd2b07678a348d7a5e550d0cfc03030740ca367c86247c42c08d9233896228a13db2b6787faa9950e270ba186ef5534b526f183a9462ce26
Homepage: http://www.postgresql.org/
Description-en: header files for libpq5 (PostgreSQL library)
Header files and static library for compiling C programs to link
with the libpq library in order to communicate with a PostgreSQL
database backend.
.
PostgreSQL is an object-relational SQL database management system.
Description-md5: 7f4362b106aae6b219ccc880faa1f04c
Package: libpq-dev
Architecture: amd64
Version: 13.2-1
Priority: optional
Section: libdevel
Source: postgresql-13
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PostgreSQL Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 551
Depends: libpq5 (= 13.2-1)
Suggests: postgresql-doc-13
Filename: pool/main/p/postgresql-13/libpq-dev_13.2-1_amd64.deb
Size: 131956
MD5sum: 50e792c9b6818d2e177deb9b648c5e71
SHA1: 83d401d7e0afdf80676d5e8fc3a0eae869e92867
SHA256: a65ae6a76088058e65333cbc5df89e8bffac52c837881cbf4ed7d9a3e1b005b2
SHA512: b44cd4686dcb10021f4b4b727160676b82fbd284ea7dcfb79d588895bfd43bc7dcb18c504025d10b3258d200e6ff380882ca6f1ad46be48ea9286815c1a53a9d
Homepage: http://www.postgresql.org/
Description-en: header files for libpq5 (PostgreSQL library)
Header files and static library for compiling C programs to link
with the libpq library in order to communicate with a PostgreSQL
database backend.
.
PostgreSQL is an object-relational SQL database management system.
Description-md5: 7f4362b106aae6b219ccc880faa1f04c
Architecture: amd64
Version: 13.3-0ubuntu0.21.04.1
Priority: optional
Section: libdevel
Source: postgresql-13
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PostgreSQL Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 553
Depends: libpq5 (= 13.3-0ubuntu0.21.04.1)
Suggests: postgresql-doc-13
Filename: pool/main/p/postgresql-13/libpq-dev_13.3-0ubuntu0.21.04.1_amd64.deb
Size: 131844
MD5sum: 8f5f1e6ec02757ebf39dc9b2dcf130c8
SHA1: 2d3a38888b188059cc5b122a3333688345d655ed
SHA256: cee75e5f3ed358c981f8f8bbf6abca009901d3c4d8069f175bda06f288271855
SHA512: 69950fd4233835d9cd2b07678a348d7a5e550d0cfc03030740ca367c86247c42c08d9233896228a13db2b6787faa9950e270ba186ef5534b526f183a9462ce26
Homepage: http://www.postgresql.org/
Description-en: header files for libpq5 (PostgreSQL library)
Header files and static library for compiling C programs to link
with the libpq library in order to communicate with a PostgreSQL
database backend.
.
PostgreSQL is an object-relational SQL database management system.
Description-md5: 7f4362b106aae6b219ccc880faa1f04c
Package: libpq-dev
Architecture: amd64
Version: 13.2-1
Priority: optional
Section: libdevel
Source: postgresql-13
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PostgreSQL Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 551
Depends: libpq5 (= 13.2-1)
Suggests: postgresql-doc-13
Filename: pool/main/p/postgresql-13/libpq-dev_13.2-1_amd64.deb
Size: 131956
MD5sum: 50e792c9b6818d2e177deb9b648c5e71
SHA1: 83d401d7e0afdf80676d5e8fc3a0eae869e92867
SHA256: a65ae6a76088058e65333cbc5df89e8bffac52c837881cbf4ed7d9a3e1b005b2
SHA512: b44cd4686dcb10021f4b4b727160676b82fbd284ea7dcfb79d588895bfd43bc7dcb18c504025d10b3258d200e6ff380882ca6f1ad46be48ea9286815c1a53a9d
Homepage: http://www.postgresql.org/
Description-en: header files for libpq5 (PostgreSQL library)
Header files and static library for compiling C programs to link
with the libpq library in order to communicate with a PostgreSQL
database backend.
.
PostgreSQL is an object-relational SQL database management system.
Description-md5: 7f4362b106aae6b219ccc880faa1f04c