How to Install and Uninstall libpq-dev Package on Ubuntu 22.10 (Kinetic Kudu)

Last updated: February 24,2025

1. Install "libpq-dev" package

Please follow the instructions below to install libpq-dev on Ubuntu 22.10 (Kinetic Kudu)

$ sudo apt update $ sudo apt install libpq-dev

2. Uninstall "libpq-dev" package

Please follow the steps below to uninstall libpq-dev on Ubuntu 22.10 (Kinetic Kudu):

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

3. Information about the libpq-dev package on Ubuntu 22.10 (Kinetic Kudu)

Package: libpq-dev
Architecture: amd64
Version: 14.5-1
Priority: optional
Section: libdevel
Source: postgresql-14
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PostgreSQL Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 565
Depends: libpq5 (= 14.5-1), libssl-dev
Suggests: postgresql-doc-14
Filename: pool/main/p/postgresql-14/libpq-dev_14.5-1_amd64.deb
Size: 146010
MD5sum: 2f021fb9747906dc546b861293880a48
SHA1: 0d0dd4078bda1f84f6397e55c96d25ff7c52529d
SHA256: 690238472b3f4cfdd423c39e344a54d381819295846ed5a4fcd568660907852a
SHA512: dffae60c0640ef37ab6cfe98773e7d7d8a2d186c9d8a48cd579115f198bf8faa82aa1592b1302db2b6812b42c80d1bfe663ead5db000502dd4b0ebcbc8ebf108
Homepage: http://www.postgresql.org/
Description: header files for libpq5 (PostgreSQL library)
Description-md5: 7f4362b106aae6b219ccc880faa1f04c