How To Install perl-DBIx-Connector on CentOS 7

In this tutorial we learn how to install perl-DBIx-Connector on CentOS 7. perl-DBIx-Connector is Fast, safe DBI connection and transaction management

Introduction

In this tutorial we learn how to install perl-DBIx-Connector on CentOS 7.

What is perl-DBIx-Connector

DBIx connection and transaction management. It allows to keep a database handle to maintain a connection in order to minimize overhead without having to worry about dropped or corrupted connections. Borrowing an interface from DBIx offers an API that handles the scoping of database transactions. In addition, it offers an API for savepoints if a database supports them.

We can use yum or dnf to install perl-DBIx-Connector on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install perl-DBIx-Connector.

Install perl-DBIx-Connector on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install perl-DBIx-Connector using yum by running the following command:

sudo yum -y install perl-DBIx-Connector

Install perl-DBIx-Connector on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install perl-DBIx-Connector using dnf by running the following command:

sudo dnf -y install perl-DBIx-Connector

How To Uninstall perl-DBIx-Connector on CentOS 7

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

sudo dnf remove perl-DBIx-Connector

References

Summary

In this tutorial we learn how to install perl-DBIx-Connector on CentOS 7 using yum and dnf.