How to Install libpq-dev in Ubuntu 18.04

Install libpq-dev by entering the following commands in the terminal:

sudo apt update
sudo apt install libpq-dev


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.


Version: 10.3-1

Section: libdevel