How to Install and Uninstall libpq-dev Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: May 18,2024

1. Install "libpq-dev" package

This guide covers the steps necessary to install libpq-dev on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install libpq-dev

2. Uninstall "libpq-dev" package

Please follow the step by step instructions below to uninstall libpq-dev on Ubuntu 24.04 LTS (Noble Numbat):

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

3. Information about the libpq-dev package on Ubuntu 24.04 LTS (Noble Numbat)

Package: libpq-dev
Architecture: amd64
Version: 16.2-1
Priority: optional
Section: libdevel
Source: postgresql-16
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PostgreSQL Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 576
Depends: libpq5 (= 16.2-1), libssl-dev
Suggests: postgresql-doc-16
Filename: pool/main/p/postgresql-16/libpq-dev_16.2-1_amd64.deb
Size: 150800
MD5sum: bc1a059b8ddd8a43775d46fa68907a02
SHA1: d61d27fa9e7c71f2bb9060e54a31fd2400d3525f
SHA256: ab75ea07d516ce7310f3fd90c4ecf4a0fc2d0e01206f46ae3f763d203f44061c
SHA512: 4f565ce9f3c5d52fb58a88f71cfa3fec3a37a05c8f8bfbb3859d5f77f662e72f821cc9c7370165f5f51a3ae56b8824a848c4676af032a4aab296da4f82172c4a
Homepage: http://www.postgresql.org/
Description: header files for libpq5 (PostgreSQL library)
Description-md5: 7f4362b106aae6b219ccc880faa1f04c