How To Install libpq-devel on Fedora 36

In this tutorial we learn how to install libpq-devel in Fedora 36. libpq-devel is Development files for building PostgreSQL client tools

Introduction

In this tutorial we learn how to install libpq-devel on Fedora 36.

What is libpq-devel

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.

We can use yum or dnf to install libpq-devel on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libpq-devel.

Install libpq-devel on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install libpq-devel using dnf by running the following command:

sudo dnf -y install libpq-devel

Install libpq-devel on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install libpq-devel using yum by running the following command:

sudo yum -y install libpq-devel

How To Uninstall libpq-devel on Fedora 36

To uninstall only the libpq-devel package we can use the following command:

sudo dnf remove libpq-devel

libpq-devel Package Contents on Fedora 36

/usr/bin/pg_config
/usr/include/libpq
/usr/include/libpq-events.h
/usr/include/libpq-fe.h
/usr/include/libpq/libpq-fs.h
/usr/include/pg_config-i386.h
/usr/include/pg_config.h
/usr/include/pg_config_ext-i386.h
/usr/include/pg_config_ext.h
/usr/include/pg_config_manual.h
/usr/include/pg_config_os.h
/usr/include/pgsql
/usr/include/pgsql/internal
/usr/include/pgsql/internal/c.h
/usr/include/pgsql/internal/libpq
/usr/include/pgsql/internal/libpq-int.h
/usr/include/pgsql/internal/libpq/pqcomm.h
/usr/include/pgsql/internal/port.h
/usr/include/pgsql/internal/postgres_fe.h
/usr/include/pgsql/internal/pqexpbuffer.h
/usr/include/postgres_ext.h
/usr/lib/.build-id
/usr/lib/.build-id/6a
/usr/lib/.build-id/6a/5cff937c84cabf6e10a6c318f9ef040ad23c5d
/usr/lib/libpq.so
/usr/lib/pkgconfig/libpq.pc
/usr/share/locale/cs/LC_MESSAGES/pg_config-14.mo
/usr/share/locale/de/LC_MESSAGES/pg_config-14.mo
/usr/share/locale/el/LC_MESSAGES/pg_config-14.mo
/usr/share/locale/es/LC_MESSAGES/pg_config-14.mo
/usr/share/locale/fr/LC_MESSAGES/pg_config-14.mo
/usr/share/locale/he/LC_MESSAGES/pg_config-14.mo
/usr/share/locale/it/LC_MESSAGES/pg_config-14.mo
/usr/share/locale/ja/LC_MESSAGES/pg_config-14.mo
/usr/share/locale/ko/LC_MESSAGES/pg_config-14.mo
/usr/share/locale/pl/LC_MESSAGES/pg_config-14.mo
/usr/share/locale/pt_BR/LC_MESSAGES/pg_config-14.mo
/usr/share/locale/ru/LC_MESSAGES/pg_config-14.mo
/usr/share/locale/sv/LC_MESSAGES/pg_config-14.mo
/usr/share/locale/tr/LC_MESSAGES/pg_config-14.mo
/usr/share/locale/uk/LC_MESSAGES/pg_config-14.mo
/usr/share/locale/vi/LC_MESSAGES/pg_config-14.mo
/usr/share/locale/zh_CN/LC_MESSAGES/pg_config-14.mo

References

Summary

In this tutorial we learn how to install libpq-devel on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).


title: “How To Install libpq-devel on Fedora 36” linkTitle: “libpq-devel” type: “docs” description: “In this tutorial we learn how to install libpq-devel in Fedora 36. libpq-devel is Development files for building PostgreSQL client tools” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/libpq-devel-featured.png

Introduction

In this tutorial we learn how to install libpq-devel on Fedora 36.

What is libpq-devel

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.

We can use yum or dnf to install libpq-devel on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libpq-devel.

Install libpq-devel on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install libpq-devel using dnf by running the following command:

sudo dnf -y install libpq-devel

Install libpq-devel on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install libpq-devel using yum by running the following command:

sudo yum -y install libpq-devel

How To Uninstall libpq-devel on Fedora 36

To uninstall only the libpq-devel package we can use the following command:

sudo dnf remove libpq-devel

libpq-devel Package Contents on Fedora 36

/usr/bin/pg_config
/usr/include/libpq
/usr/include/libpq-events.h
/usr/include/libpq-fe.h
/usr/include/libpq/libpq-fs.h
/usr/include/pg_config-x86_64.h
/usr/include/pg_config.h
/usr/include/pg_config_ext-x86_64.h
/usr/include/pg_config_ext.h
/usr/include/pg_config_manual.h
/usr/include/pg_config_os.h
/usr/include/pgsql
/usr/include/pgsql/internal
/usr/include/pgsql/internal/c.h
/usr/include/pgsql/internal/libpq
/usr/include/pgsql/internal/libpq-int.h
/usr/include/pgsql/internal/libpq/pqcomm.h
/usr/include/pgsql/internal/port.h
/usr/include/pgsql/internal/postgres_fe.h
/usr/include/pgsql/internal/pqexpbuffer.h
/usr/include/postgres_ext.h
/usr/lib/.build-id
/usr/lib/.build-id/55
/usr/lib/.build-id/55/f9de42eb579efea0593f0847609efd8229a56a
/usr/lib64/libpq.so
/usr/lib64/pkgconfig/libpq.pc
/usr/share/locale/cs/LC_MESSAGES/pg_config-14.mo
/usr/share/locale/de/LC_MESSAGES/pg_config-14.mo
/usr/share/locale/el/LC_MESSAGES/pg_config-14.mo
/usr/share/locale/es/LC_MESSAGES/pg_config-14.mo
/usr/share/locale/fr/LC_MESSAGES/pg_config-14.mo
/usr/share/locale/he/LC_MESSAGES/pg_config-14.mo
/usr/share/locale/it/LC_MESSAGES/pg_config-14.mo
/usr/share/locale/ja/LC_MESSAGES/pg_config-14.mo
/usr/share/locale/ko/LC_MESSAGES/pg_config-14.mo
/usr/share/locale/pl/LC_MESSAGES/pg_config-14.mo
/usr/share/locale/pt_BR/LC_MESSAGES/pg_config-14.mo
/usr/share/locale/ru/LC_MESSAGES/pg_config-14.mo
/usr/share/locale/sv/LC_MESSAGES/pg_config-14.mo
/usr/share/locale/tr/LC_MESSAGES/pg_config-14.mo
/usr/share/locale/uk/LC_MESSAGES/pg_config-14.mo
/usr/share/locale/vi/LC_MESSAGES/pg_config-14.mo
/usr/share/locale/zh_CN/LC_MESSAGES/pg_config-14.mo

References

Summary

In this tutorial we learn how to install libpq-devel on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).