How To Install postgresql-private-devel on Fedora 36

In this tutorial we learn how to install postgresql-private-devel in Fedora 36. postgresql-private-devel is PostgreSQL development header files for this build of PostgreSQL server

Introduction

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

What is postgresql-private-devel

The postgresql-private-devel package contains the header files and libraries needed to compile C or C++ applications which will directly interact with a PostgreSQL database management server. You need to install this package if you want to develop applications which will interact with a PostgreSQL server.

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

Install postgresql-private-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 postgresql-private-devel using dnf by running the following command:

sudo dnf -y install postgresql-private-devel

Install postgresql-private-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 postgresql-private-devel using yum by running the following command:

sudo yum -y install postgresql-private-devel

How To Uninstall postgresql-private-devel on Fedora 36

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

sudo dnf remove postgresql-private-devel

postgresql-private-devel Package Contents on Fedora 36

/usr/bin/pg_config
/usr/include/libpq-events.h
/usr/include/libpq-fe.h
/usr/include/libpq/libpq-fs.h
/usr/include/pg_config.h
/usr/include/pg_config_ext.h
/usr/include/pg_config_manual.h
/usr/include/pg_config_os.h
/usr/include/pgsql/internal/c.h
/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/lib64/libpq.so
/usr/lib64/pkgconfig/libpq.pc

References

Summary

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


title: “How To Install postgresql-private-devel on Fedora 36” linkTitle: “postgresql-private-devel” type: “docs” description: “In this tutorial we learn how to install postgresql-private-devel in Fedora 36. postgresql-private-devel is PostgreSQL development header files for this build of PostgreSQL server” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/postgresql-private-devel-featured.png

Introduction

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

What is postgresql-private-devel

The postgresql-private-devel package contains the header files and libraries needed to compile C or C++ applications which will directly interact with a PostgreSQL database management server. You need to install this package if you want to develop applications which will interact with a PostgreSQL server.

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

Install postgresql-private-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 postgresql-private-devel using dnf by running the following command:

sudo dnf -y install postgresql-private-devel

Install postgresql-private-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 postgresql-private-devel using yum by running the following command:

sudo yum -y install postgresql-private-devel

How To Uninstall postgresql-private-devel on Fedora 36

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

sudo dnf remove postgresql-private-devel

postgresql-private-devel Package Contents on Fedora 36

/usr/bin/pg_config
/usr/include/libpq-events.h
/usr/include/libpq-fe.h
/usr/include/libpq/libpq-fs.h
/usr/include/pg_config.h
/usr/include/pg_config_ext.h
/usr/include/pg_config_manual.h
/usr/include/pg_config_os.h
/usr/include/pgsql/internal/c.h
/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/libpq.so
/usr/lib/pkgconfig/libpq.pc

References

Summary

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