How To Install perl-pgsql_perl5 on Fedora 36

In this tutorial we learn how to install perl-pgsql_perl5 in Fedora 36. perl-pgsql_perl5 is Pg – Perl5 extension for PostgreSQL

Introduction

In this tutorial we learn how to install perl-pgsql_perl5 on Fedora 36.

What is perl-pgsql_perl5

The Pg module permits you to access all functions of the Libpq interface of PostgreSQL. Libpq is the programmer’s interface to PostgreSQL. For examples of how to use this module, look at the file test.pl.

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

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

sudo dnf -y install perl-pgsql_perl5

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

sudo yum -y install perl-pgsql_perl5

How To Uninstall perl-pgsql_perl5 on Fedora 36

To uninstall only the perl-pgsql_perl5 package we can use the following command:

sudo dnf remove perl-pgsql_perl5

perl-pgsql_perl5 Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/5a
/usr/lib/.build-id/5a/af5db1661aeac90777ed9cf9029a90c92362d3
/usr/lib64/perl5/vendor_perl/Pg.pm
/usr/lib64/perl5/vendor_perl/auto/Pg
/usr/lib64/perl5/vendor_perl/auto/Pg/Pg.so
/usr/lib64/perl5/vendor_perl/auto/Pg/autosplit.ix
/usr/share/doc/perl-pgsql_perl5
/usr/share/doc/perl-pgsql_perl5/Changes
/usr/share/doc/perl-pgsql_perl5/README
/usr/share/doc/perl-pgsql_perl5/eg
/usr/share/doc/perl-pgsql_perl5/eg/ApachePg.pl
/usr/share/doc/perl-pgsql_perl5/eg/example.pl
/usr/share/doc/perl-pgsql_perl5/eg/lo_demo.pl
/usr/share/doc/perl-pgsql_perl5/test.pl
/usr/share/man/man3/Pg.3pm.gz

References

Summary

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