How to Install and Uninstall libpq-dev Package on Ubuntu 21.10 (Impish Indri)

Last updated: July 05,2024

1. Install "libpq-dev" package

This guide covers the steps necessary to install libpq-dev on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install libpq-dev

2. Uninstall "libpq-dev" package

This guide let you learn how to uninstall libpq-dev on Ubuntu 21.10 (Impish Indri):

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

3. Information about the libpq-dev package on Ubuntu 21.10 (Impish Indri)

Package: libpq-dev
Architecture: amd64
Version: 13.5-0ubuntu0.21.10.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: 556
Depends: libpq5 (= 13.5-0ubuntu0.21.10.1)
Suggests: postgresql-doc-13
Filename: pool/main/p/postgresql-13/libpq-dev_13.5-0ubuntu0.21.10.1_amd64.deb
Size: 142724
MD5sum: 0fb05a067f712960d53ee3bb1f3df95b
SHA1: 57f58acc76c05ee58dd5ec176dd8c8e5d86c77a2
SHA256: fb15fbe69efd45e39c5aeb45e55fe8a73a913633dad95392bf148e7179e94f2f
SHA512: fc1677aa4db5d14ee5f1d91e7a1dbed9441226f64d939bd83ee847686c0ecf1adaa695765d6e92e3789ce973aaf1cb14e7d9e389231b48ab43a7dddf7e8daf4e
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.4-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: 554
Depends: libpq5 (= 13.4-1)
Suggests: postgresql-doc-13
Filename: pool/main/p/postgresql-13/libpq-dev_13.4-1_amd64.deb
Size: 142652
MD5sum: 6400413b33684806ec571ddbd00f2568
SHA1: 6a983499ddcd9ca66bb4b2fecf0420e142d5c504
SHA256: 079588bb8f2282a977d904cfe523efde66456be86dd2520f3de74cea12e6d8d7
SHA512: f6561172476b15c1b801c42caca53aa172840e805ec249e2c4d1bf8ca3e79f0392d87dc7ae3a89645be9e2dd3552cfa7ce015fbc1879696ca43f87bb24ceccca
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