How To Install perl-IO-String on CentOS 7
Introduction
In this tutorial we learn how to install perl-IO-String
on CentOS 7.
What is perl-IO-String
The “IO in-core strings. An “IO string, and makes it possible to use the normal file operations for reading or writing data, as well as for seeking to various locations of the string. This is useful when you want to use a library module that only provides an interface to file handles on data that you have in a string variable. Note that perl-5.8 and better has built-in support for “in memory” files, which are set up by passing a reference instead of a filename to the open() call. The reason for using this module is that it makes the code backwards compatible with older versions of Perl.
We can use yum
or dnf
to install perl-IO-String
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install perl-IO-String.
Install perl-IO-String on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install perl-IO-String
using yum
by running the following command:
Install perl-IO-String 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.
After updating yum database, We can install perl-IO-String
using dnf
by running the following command:
How To Uninstall perl-IO-String on CentOS 7
To uninstall only the perl-IO-String
package we can use the following command:
References
Summary
In this tutorial we learn how to install perl-IO-String
on CentOS 7 using yum
and dnf
.