I'm trying to install libpq-dev on fedora using the command below:
sudo dnf install libpq-dev
but the result is:
No match for argument: libpq-dev
Error: Unable to find a match: libpq-dev
The package name is libpq-devel:
sudo dnf install libpq-devel
libpq-devel - Development files for building PostgreSQL client tools
The
libpqpackage provides the essential shared library for any PostgreSQL client program or interface. You will need to install this package to build any package or any clients that need to connect to a PostgreSQL server.