How To Install perl-IO-Socket-PortState on Fedora 36

In this tutorial we learn how to install perl-IO-Socket-PortState in Fedora 36. perl-IO-Socket-PortState is Perl extension for checking the open or closed status of a port

Introduction

In this tutorial we learn how to install perl-IO-Socket-PortState on Fedora 36.

What is perl-IO-Socket-PortState

You can use it to check if a port is open or closed for a given host and protocol.

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

Install perl-IO-Socket-PortState on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install perl-IO-Socket-PortState

Install perl-IO-Socket-PortState on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install perl-IO-Socket-PortState

How To Uninstall perl-IO-Socket-PortState on Fedora 36

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

sudo dnf remove perl-IO-Socket-PortState

perl-IO-Socket-PortState Package Contents on Fedora 36

/usr/share/doc/perl-IO-Socket-PortState
/usr/share/doc/perl-IO-Socket-PortState/Changes
/usr/share/doc/perl-IO-Socket-PortState/README
/usr/share/man/man3/IO::Socket::PortState.3pm.gz
/usr/share/perl5/vendor_perl/IO
/usr/share/perl5/vendor_perl/IO/Socket
/usr/share/perl5/vendor_perl/IO/Socket/PortState.pm

References

Summary

In this tutorial we learn how to install perl-IO-Socket-PortState on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).