How To Install perl-IO-stringy on CentOS 7

In this tutorial we learn how to install perl-IO-stringy on CentOS 7. perl-IO-stringy is I/O on in-core objects like strings and arrays for Perl

Introduction

In this tutorial we learn how to install perl-IO-stringy on CentOS 7.

What is perl-IO-stringy

This toolkit primarily provides modules for performing both traditional and object-oriented I/O) on things other than normal filehandles; in particular, IO IO In the more-traditional IO which may be used to painlessly create files that are updated atomically. And in the “this-may-prove-useful” corner, we have IO exported wraphandle() function will clothe anything that’s not a blessed object in an IO use OO syntax and stop worrying about whether your function’s caller handed you a string, a globref, or a FileHandle.

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

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

sudo yum -y install perl-IO-stringy

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

sudo dnf -y install perl-IO-stringy

How To Uninstall perl-IO-stringy on CentOS 7

To uninstall only the perl-IO-stringy package we can use the following command:

sudo dnf remove perl-IO-stringy

References

Summary

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