How To Install perl-IO on Rocky Linux 8

In this tutorial we learn how to install perl-IO on Rocky Linux 8. perl-IO is Perl input/output modules

Introduction

In this tutorial we learn how to install perl-IO on Rocky Linux 8.

What is perl-IO

This is a collection of Perl input/output modules.

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

Install perl-IO on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install perl-IO using dnf by running the following command:

sudo dnf -y install perl-IO

Install perl-IO on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install perl-IO using yum by running the following command:

sudo yum -y install perl-IO

How To Uninstall perl-IO on Rocky Linux 8

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

sudo dnf remove perl-IO

perl-IO Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/68/61fc28a4e5a7c14ed09c87f9c8edecbc311173
/usr/lib64/perl5/IO
/usr/lib64/perl5/IO.pm
/usr/lib64/perl5/IO/Dir.pm
/usr/lib64/perl5/IO/File.pm
/usr/lib64/perl5/IO/Handle.pm
/usr/lib64/perl5/IO/Pipe.pm
/usr/lib64/perl5/IO/Poll.pm
/usr/lib64/perl5/IO/Seekable.pm
/usr/lib64/perl5/IO/Select.pm
/usr/lib64/perl5/IO/Socket
/usr/lib64/perl5/IO/Socket.pm
/usr/lib64/perl5/IO/Socket/INET.pm
/usr/lib64/perl5/IO/Socket/UNIX.pm
/usr/lib64/perl5/auto/IO
/usr/lib64/perl5/auto/IO/IO.so
/usr/share/man/man3/IO.3pm.gz
/usr/share/man/man3/IO::Dir.3pm.gz
/usr/share/man/man3/IO::File.3pm.gz
/usr/share/man/man3/IO::Handle.3pm.gz
/usr/share/man/man3/IO::Pipe.3pm.gz
/usr/share/man/man3/IO::Poll.3pm.gz
/usr/share/man/man3/IO::Seekable.3pm.gz
/usr/share/man/man3/IO::Select.3pm.gz
/usr/share/man/man3/IO::Socket.3pm.gz
/usr/share/man/man3/IO::Socket::INET.3pm.gz
/usr/share/man/man3/IO::Socket::UNIX.3pm.gz

References

Summary

In this tutorial we learn how to install perl-IO on Rocky Linux 8 using yum and dnf.