How To Install perl-IO-String.noarch on Amazon Linux 2
Introduction
In this tutorial we learn how to install perl-IO-String.noarch on Amazon Linux 2.
What is perl-IO-String.noarch
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 to install perl-IO-String.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install perl-IO-String.noarch.
Install perl-IO-String.noarch on Amazon Linux 2 Using yum
Update yum database with yum using the following command.
sudo yum makecache --refresh
After updating yum database, We can install perl-IO-String.noarch using yum by running the following command:
sudo yum -y install perl-IO-String.noarch
How To Uninstall perl-IO-String.noarch on Amazon Linux 2
To uninstall only the perl-IO-String.noarch package we can use the following command:
sudo yum remove perl-IO-String.noarch
perl-IO-String.noarch Package Contents on Amazon Linux 2
/usr/share/doc/perl-IO-String-1.08
/usr/share/doc/perl-IO-String-1.08/Changes
/usr/share/doc/perl-IO-String-1.08/README
/usr/share/man/man3/IO::String.3pm.gz
/usr/share/perl5/vendor_perl/IO
/usr/share/perl5/vendor_perl/IO/String.pm
References
Summary
In this tutorial we learn how to install perl-IO-String.noarch on Amazon Linux 2 using yum.