How To Install perl-IO-FDPass on CentOS 7

In this tutorial we learn how to install perl-IO-FDPass on CentOS 7. perl-IO-FDPass is Pass a file descriptor over a socket

Introduction

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

What is perl-IO-FDPass

This small low-level module only has one purpose descriptor to another process, using a (streaming) UNIX domain socket (on POSIX systems) or any (streaming) socket (on WIN32 systems). The ability to pass file descriptors on Windows is currently the unique selling point of this module. Have I mentioned that it is really small, too?

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

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

sudo yum -y install perl-IO-FDPass

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

sudo dnf -y install perl-IO-FDPass

How To Uninstall perl-IO-FDPass on CentOS 7

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

sudo dnf remove perl-IO-FDPass

References

Summary

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