How To Install perl-pgsql_perl5 on AlmaLinux 8

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

Introduction

In this tutorial we learn how to install perl-pgsql_perl5 on AlmaLinux 8.

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 AlmaLinux 8. 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 AlmaLinux 8 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 AlmaLinux 8 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 AlmaLinux 8

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

sudo dnf remove perl-pgsql_perl5

References

Summary

In this tutorial we learn how to install perl-pgsql_perl5 on AlmaLinux 8 using yum and dnf.