pg_config

libraries

Debian Debian
RUN apt-get update && \ apt-get install -y postgresql-server-dev-9.1
Ubuntu
RUN apt-get update && \ apt-get install -y postgresql-server-dev-9.3
Alpine
RUN apk add postgresql
Arch Arch Linux
RUN pacman -S --noconfirm postgresql-old-upgrade
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y postgresql-server-dev-11
CentOS
RUN yum install -y postgresql
Fedora
RUN dnf install -y libpq-devel
Raspbian
RUN apt-get update && \ apt-get install -y postgresql-server-dev-9.5
click the source code to copy install pg_config on any operating system with command-not-found.com