How To Install perl-Exporter-Tiny on CentOS 7
Introduction
In this tutorial we learn how to install perl-Exporter-Tiny
on CentOS 7.
What is perl-Exporter-Tiny
Exporter features including renaming imported functions with the -as, -prefix and -suffix options; explicit destinations with the into option; and alternative installers with the installer option. But it’s written in only about 40% as many lines of code and with zero non-core dependencies. Its internal-facing interface is closer to Exporter.pm, with configuration done through the @EXPORT, @EXPORT_OK and %EXPORT_TAGS package variables. Exporter resolution of tag names to sub names, resolution of sub names to coderefs, and installation of coderefs into the target package) as method calls, which means they can be overridden to provide interesting behavior.
We can use yum
or dnf
to install perl-Exporter-Tiny
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Exporter-Tiny.
Install perl-Exporter-Tiny 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-Exporter-Tiny
using yum
by running the following command:
sudo yum -y install perl-Exporter-Tiny
Install perl-Exporter-Tiny 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-Exporter-Tiny
using dnf
by running the following command:
sudo dnf -y install perl-Exporter-Tiny
How To Uninstall perl-Exporter-Tiny on CentOS 7
To uninstall only the perl-Exporter-Tiny
package we can use the following command:
sudo dnf remove perl-Exporter-Tiny
References
Summary
In this tutorial we learn how to install perl-Exporter-Tiny
on CentOS 7 using yum
and dnf
.