How To Install perl-Test-TCP on Rocky Linux 8

In this tutorial we learn how to install perl-Test-TCP on Rocky Linux 8. perl-Test-TCP is Testing TCP program

Introduction

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

What is perl-Test-TCP

Test

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

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

sudo dnf -y install perl-Test-TCP

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

sudo yum -y install perl-Test-TCP

How To Uninstall perl-Test-TCP on Rocky Linux 8

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

sudo dnf remove perl-Test-TCP

perl-Test-TCP Package Contents on Rocky Linux 8

/usr/share/doc/perl-Test-TCP
/usr/share/doc/perl-Test-TCP/Changes
/usr/share/doc/perl-Test-TCP/README.md
/usr/share/man/man3/Net::EmptyPort.3pm.gz
/usr/share/man/man3/Test::TCP.3pm.gz
/usr/share/man/man3/Test::TCP::CheckPort.3pm.gz
/usr/share/perl5/vendor_perl/Net
/usr/share/perl5/vendor_perl/Net/EmptyPort.pm
/usr/share/perl5/vendor_perl/Test
/usr/share/perl5/vendor_perl/Test/TCP
/usr/share/perl5/vendor_perl/Test/TCP.pm
/usr/share/perl5/vendor_perl/Test/TCP/CheckPort.pm

References

Summary

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