How to Install and Uninstall libpq-dev Package on Ubuntu 22.04 LTS (Jammy Jellyfish)
Last updated: November 26,2024
Notice
You can also install and uninstall the libpq-dev on the following distributions in the same way, as they are all based on the Ubuntu system
- Kubuntu 22.04 LTS
- Lubuntu 22.04 LTS
- Xubuntu 22.04 LTS
- Ubuntu MATE 22.04 LTS
- Ubuntu Studio 22.04 LTS
- Pop!_OS 22.04 LTS
- Zorin OS 16 / Zorin OS 17
- Ubuntu Budgie 22.04
1. Install "libpq-dev" package
Please follow the guidance below to install libpq-dev on Ubuntu 22.04 LTS (Jammy Jellyfish)
$
sudo apt update
Copied
$
sudo apt install
libpq-dev
Copied
2. Uninstall "libpq-dev" package
In this section, we are going to explain the necessary steps to uninstall libpq-dev on Ubuntu 22.04 LTS (Jammy Jellyfish):
$
sudo apt remove
libpq-dev
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the libpq-dev package on Ubuntu 22.04 LTS (Jammy Jellyfish)
Package: libpq-dev
Architecture: amd64
Version: 14.11-0ubuntu0.22.04.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: 572
Depends: libpq5 (= 14.11-0ubuntu0.22.04.1), libssl-dev
Suggests: postgresql-doc-14
Filename: pool/main/p/postgresql-14/libpq-dev_14.11-0ubuntu0.22.04.1_amd64.deb
Size: 147258
MD5sum: b853b803c29cb5c5abc23ceb22ce9982
SHA1: a9eb4d0b767b4400ec801295b42cb87b5693013f
SHA256: c4d7080c2fac4521788dc3b4a021d84c26cf6df05f922930e346f72fa5cb9fa3
SHA512: e093f14482f67e63ee668b23fe81d48e918a185eb0111bcc40879acfee1d8ed17c05eab7921c250d61fdd8650db1a625e2e79b00e8d9f15e7d1ccf62e766c76f
Homepage: http://www.postgresql.org/
Description: header files for libpq5 (PostgreSQL library)
Description-md5: 7f4362b106aae6b219ccc880faa1f04c
Package: libpq-dev
Architecture: amd64
Version: 14.2-1ubuntu1
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: 562
Depends: libpq5 (= 14.2-1ubuntu1), libssl-dev
Suggests: postgresql-doc-14
Filename: pool/main/p/postgresql-14/libpq-dev_14.2-1ubuntu1_amd64.deb
Size: 146036
MD5sum: dca13ff5ee520b71b89512f286426bbe
SHA1: d4cc2de168a0fe66e1df3fc70db2e840c66be52e
SHA256: d8b8653388e676a3ae2fcf565c2b1a42a01a1104062317f641e8d24f0eaff9c3
SHA512: b2c6c84341da3db157e058eef9d2056eefcd5c76d8a02f188d73db997b9baa50974943ed535541932f448c53f3735a43fbadc50949d5851fb15fea4bef6095f0
Homepage: http://www.postgresql.org/
Description: header files for libpq5 (PostgreSQL library)
Description-md5: 7f4362b106aae6b219ccc880faa1f04c
Architecture: amd64
Version: 14.11-0ubuntu0.22.04.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: 572
Depends: libpq5 (= 14.11-0ubuntu0.22.04.1), libssl-dev
Suggests: postgresql-doc-14
Filename: pool/main/p/postgresql-14/libpq-dev_14.11-0ubuntu0.22.04.1_amd64.deb
Size: 147258
MD5sum: b853b803c29cb5c5abc23ceb22ce9982
SHA1: a9eb4d0b767b4400ec801295b42cb87b5693013f
SHA256: c4d7080c2fac4521788dc3b4a021d84c26cf6df05f922930e346f72fa5cb9fa3
SHA512: e093f14482f67e63ee668b23fe81d48e918a185eb0111bcc40879acfee1d8ed17c05eab7921c250d61fdd8650db1a625e2e79b00e8d9f15e7d1ccf62e766c76f
Homepage: http://www.postgresql.org/
Description: header files for libpq5 (PostgreSQL library)
Description-md5: 7f4362b106aae6b219ccc880faa1f04c
Package: libpq-dev
Architecture: amd64
Version: 14.2-1ubuntu1
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: 562
Depends: libpq5 (= 14.2-1ubuntu1), libssl-dev
Suggests: postgresql-doc-14
Filename: pool/main/p/postgresql-14/libpq-dev_14.2-1ubuntu1_amd64.deb
Size: 146036
MD5sum: dca13ff5ee520b71b89512f286426bbe
SHA1: d4cc2de168a0fe66e1df3fc70db2e840c66be52e
SHA256: d8b8653388e676a3ae2fcf565c2b1a42a01a1104062317f641e8d24f0eaff9c3
SHA512: b2c6c84341da3db157e058eef9d2056eefcd5c76d8a02f188d73db997b9baa50974943ed535541932f448c53f3735a43fbadc50949d5851fb15fea4bef6095f0
Homepage: http://www.postgresql.org/
Description: header files for libpq5 (PostgreSQL library)
Description-md5: 7f4362b106aae6b219ccc880faa1f04c