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

Description:

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.

Homepage: http://www.postgresql.org/

Version: 10.3-1

Section: libdevel