How To Install perl-Taint-Util on CentOS 7

In this tutorial we learn how to install perl-Taint-Util on CentOS 7. perl-Taint-Util is Test for and flip the taint flag without regex matches or eval

Introduction

In this tutorial we learn how to install perl-Taint-Util on CentOS 7.

What is perl-Taint-Util

Wraps perl’s internal routines for checking and setting the taint flag and thus does not rely on regular expressions for untainting or odd tricks involving eval and kill for checking whether data is tainted; instead, it checks and flips a flag on the scalar in-place.

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

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

sudo yum -y install perl-Taint-Util

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

sudo dnf -y install perl-Taint-Util

How To Uninstall perl-Taint-Util on CentOS 7

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

sudo dnf remove perl-Taint-Util

References

Summary

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