4

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

1 Answer 1

8

The package name is libpq-devel:

sudo dnf install libpq-devel

Description :

libpq-devel - Development files for building PostgreSQL client tools

The libpq package 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.

2
  • 1
    Is this as same as libpq-dev in work? Commented Jun 22, 2020 at 22:55
  • “libpq-dev” is a Debian (and clones) name for the development headers for PostgreSQL’s libpq library. Fedora and Debian don’t use the same package names, and they aren’t identical in what they ship, so it might be helpful if you say what “in work” means? Commented Jun 28, 2020 at 20:36

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.