How To Install perl-Sys-SigAction on CentOS 7

In this tutorial we learn how to install perl-Sys-SigAction on CentOS 7. perl-Sys-SigAction is Perl extension for Consistent Signal Handling

Introduction

In this tutorial we learn how to install perl-Sys-SigAction on CentOS 7.

What is perl-Sys-SigAction

Sys signal handling on systems that support sigaction(). It is hoped that with the use of this module, your signal handling behavior can be coded in a way that does not change from one perl version to the next, and that sigaction() will be easier for you to use.

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

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

sudo yum -y install perl-Sys-SigAction

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

sudo dnf -y install perl-Sys-SigAction

How To Uninstall perl-Sys-SigAction on CentOS 7

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

sudo dnf remove perl-Sys-SigAction

References

Summary

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