How To Install perl-SNMP_Session.noarch on Amazon Linux 2

In this tutorial we learn how to install perl-SNMP_Session.noarch in Amazon Linux 2. perl-SNMP_Session.noarch is SNMP support for Perl 5

Introduction

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

What is perl-SNMP_Session.noarch

Pure Perl SNMP v1 and SNMP v2 support for Perl 5. The SNMP operations currently supported are “get”, “get-next”, “get-bulk” and “set”, as well as trap generation and reception.

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

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

sudo yum -y install perl-SNMP_Session.noarch

How To Uninstall perl-SNMP_Session.noarch on Amazon Linux 2

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

sudo yum remove perl-SNMP_Session.noarch

perl-SNMP_Session.noarch Package Contents on Amazon Linux 2

/usr/share/doc/perl-SNMP_Session-1.13
/usr/share/doc/perl-SNMP_Session-1.13/Artistic
/usr/share/doc/perl-SNMP_Session-1.13/README
/usr/share/doc/perl-SNMP_Session-1.13/README.SNMP_util
/usr/share/doc/perl-SNMP_Session-1.13/index.html
/usr/share/doc/perl-SNMP_Session-1.13/test
/usr/share/doc/perl-SNMP_Session-1.13/test/README
/usr/share/doc/perl-SNMP_Session-1.13/test/SNMPAgent.pm
/usr/share/doc/perl-SNMP_Session-1.13/test/arp
/usr/share/doc/perl-SNMP_Session-1.13/test/ber-test.pl
/usr/share/doc/perl-SNMP_Session-1.13/test/capturetest.pl
/usr/share/doc/perl-SNMP_Session-1.13/test/cisco-cpus
/usr/share/doc/perl-SNMP_Session-1.13/test/cisco-memory
/usr/share/doc/perl-SNMP_Session-1.13/test/discover
/usr/share/doc/perl-SNMP_Session-1.13/test/if-counters.pl
/usr/share/doc/perl-SNMP_Session-1.13/test/if-status.pl
/usr/share/doc/perl-SNMP_Session-1.13/test/if-to-routes.pl
/usr/share/doc/perl-SNMP_Session-1.13/test/iftop
/usr/share/doc/perl-SNMP_Session-1.13/test/map-table.pl
/usr/share/doc/perl-SNMP_Session-1.13/test/set-test.pl
/usr/share/doc/perl-SNMP_Session-1.13/test/snmpwalkh.pl
/usr/share/doc/perl-SNMP_Session-1.13/test/sun-find-process
/usr/share/doc/perl-SNMP_Session-1.13/test/sun-ps
/usr/share/doc/perl-SNMP_Session-1.13/test/test-table.pl
/usr/share/doc/perl-SNMP_Session-1.13/test/test.pl
/usr/share/doc/perl-SNMP_Session-1.13/test/trap-listener
/usr/share/doc/perl-SNMP_Session-1.13/test/trap-send
/usr/share/doc/perl-SNMP_Session-1.13/test/walk-intf.pl
/usr/share/doc/perl-SNMP_Session-1.13/test/walk-test.pl
/usr/share/doc/perl-SNMP_Session-1.13/test/wwwtest
/usr/share/perl5/vendor_perl/BER.pm
/usr/share/perl5/vendor_perl/SNMP_Session.pm
/usr/share/perl5/vendor_perl/SNMP_util.pm

References

Summary

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