How To Install libpqxx on Fedora 36

In this tutorial we learn how to install libpqxx in Fedora 36. libpqxx is C++ client API for PostgreSQL

Introduction

In this tutorial we learn how to install libpqxx on Fedora 36.

What is libpqxx

C++ client API for PostgreSQL. The standard front-end (in the sense of “language binding”) for writing C++ programs that use PostgreSQL. Supersedes older libpq++ interface.

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

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

sudo dnf -y install libpqxx

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

sudo yum -y install libpqxx

How To Uninstall libpqxx on Fedora 36

To uninstall only the libpqxx package we can use the following command:

sudo dnf remove libpqxx

libpqxx Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/0b
/usr/lib/.build-id/0b/c54b07ec769a5e4a110b814635b668161eaf35
/usr/lib64/libpqxx-7.7.so
/usr/share/doc/libpqxx
/usr/share/doc/libpqxx/AUTHORS
/usr/share/doc/libpqxx/NEWS
/usr/share/doc/libpqxx/README.md
/usr/share/doc/libpqxx/VERSION
/usr/share/licenses/libpqxx
/usr/share/licenses/libpqxx/COPYING

References

Summary

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


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

Introduction

In this tutorial we learn how to install libpqxx on Fedora 36.

What is libpqxx

C++ client API for PostgreSQL. The standard front-end (in the sense of “language binding”) for writing C++ programs that use PostgreSQL. Supersedes older libpq++ interface.

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

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

sudo dnf -y install libpqxx

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

sudo yum -y install libpqxx

How To Uninstall libpqxx on Fedora 36

To uninstall only the libpqxx package we can use the following command:

sudo dnf remove libpqxx

libpqxx Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/27
/usr/lib/.build-id/27/24e144116beb9617b5f669488e296f4a9aca5b
/usr/lib/libpqxx-7.7.so
/usr/share/doc/libpqxx
/usr/share/doc/libpqxx/AUTHORS
/usr/share/doc/libpqxx/NEWS
/usr/share/doc/libpqxx/README.md
/usr/share/doc/libpqxx/VERSION
/usr/share/licenses/libpqxx
/usr/share/licenses/libpqxx/COPYING

References

Summary

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