How To Install perl-Net-Telnet.noarch on Amazon Linux 2

In this tutorial we learn how to install perl-Net-Telnet.noarch in Amazon Linux 2. perl-Net-Telnet.noarch is Net-Telnet Perl module

Introduction

In this tutorial we learn how to install perl-Net-Telnet.noarch on Amazon Linux 2.

What is perl-Net-Telnet.noarch

Net and do network I/O, especially to a port using the TELNET protocol. Simple I/O methods such as print, get, and getline are provided. More sophisticated interactive features are provided because connecting to a TELNET port ultimately means communicating with a program designed for human interaction. These interactive features include the ability to specify a time-out and to wait for patterns to appear in the input stream, such as the prompt from a shell.

We can use yum to install perl-Net-Telnet.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Net-Telnet.noarch.

Install perl-Net-Telnet.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-Net-Telnet.noarch using yum by running the following command:

sudo yum -y install perl-Net-Telnet.noarch

How To Uninstall perl-Net-Telnet.noarch on Amazon Linux 2

To uninstall only the perl-Net-Telnet.noarch package we can use the following command:

sudo yum remove perl-Net-Telnet.noarch

perl-Net-Telnet.noarch Package Contents on Amazon Linux 2

/usr/share/doc/perl-Net-Telnet-3.03
/usr/share/doc/perl-Net-Telnet-3.03/ChangeLog
/usr/share/doc/perl-Net-Telnet-3.03/README
/usr/share/man/man3/Net::Telnet.3pm.gz
/usr/share/perl5/vendor_perl/Net
/usr/share/perl5/vendor_perl/Net/Telnet.pm

References

Summary

In this tutorial we learn how to install perl-Net-Telnet.noarch on Amazon Linux 2 using yum.