How To Install perl-Class-DBI-Plugin on Rocky Linux 8
Introduction
In this tutorial we learn how to install perl-Class-DBI-Plugin
on Rocky Linux 8.
What is perl-Class-DBI-Plugin
Class purpose is to make writing plugins easier. Writers of plugins should be able to concentrate on the functionality their module provides, instead of having to deal with the symbol table hackery involved when writing a plugin module. Only three things must be remembered * All methods to be exported are given the “Plugged” attribute. All other methods are not exported to the plugged-in class. * Method calls that are to be sent to the plugged-in class are put in the init() method. Examples of these are set_sql(), add_trigger() and so on. * The class parameter for the init() method and the “Plugged” methods is the plugged-in class, not the plugin class.
We can use yum
or dnf
to install perl-Class-DBI-Plugin
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Class-DBI-Plugin.
Install perl-Class-DBI-Plugin on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install perl-Class-DBI-Plugin
using dnf
by running the following command:
sudo dnf -y install perl-Class-DBI-Plugin
Install perl-Class-DBI-Plugin on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install perl-Class-DBI-Plugin
using yum
by running the following command:
sudo yum -y install perl-Class-DBI-Plugin
How To Uninstall perl-Class-DBI-Plugin on Rocky Linux 8
To uninstall only the perl-Class-DBI-Plugin
package we can use the following command:
sudo dnf remove perl-Class-DBI-Plugin
perl-Class-DBI-Plugin Package Contents on Rocky Linux 8
/usr/share/doc/perl-Class-DBI-Plugin
/usr/share/doc/perl-Class-DBI-Plugin/Changes
/usr/share/doc/perl-Class-DBI-Plugin/README
/usr/share/man/man3/Class::DBI::Plugin.3pm.gz
/usr/share/perl5/vendor_perl/Class
/usr/share/perl5/vendor_perl/Class/DBI
/usr/share/perl5/vendor_perl/Class/DBI/Plugin.pm
References
Summary
In this tutorial we learn how to install perl-Class-DBI-Plugin
on Rocky Linux 8 using yum and dnf.