How To Install libvirt-snmp.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libvirt-snmp.x86_64 in Amazon Linux 2. libvirt-snmp.x86_64 is SNMP functionality for libvirt

Introduction

In this tutorial we learn how to install libvirt-snmp.x86_64 on Amazon Linux 2.

What is libvirt-snmp.x86_64

Provides a way to control libvirt through SNMP protocol.

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

Install libvirt-snmp.x86_64 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 libvirt-snmp.x86_64 using yum by running the following command:

sudo yum -y install libvirt-snmp.x86_64

How To Uninstall libvirt-snmp.x86_64 on Amazon Linux 2

To uninstall only the libvirt-snmp.x86_64 package we can use the following command:

sudo yum remove libvirt-snmp.x86_64

libvirt-snmp.x86_64 Package Contents on Amazon Linux 2

/usr/bin/libvirtMib_subagent
/usr/share/doc/libvirt-snmp-0.0.3
/usr/share/doc/libvirt-snmp-0.0.3/AUTHORS
/usr/share/doc/libvirt-snmp-0.0.3/ChangeLog
/usr/share/doc/libvirt-snmp-0.0.3/NEWS
/usr/share/doc/libvirt-snmp-0.0.3/README
/usr/share/man/man1/libvirtMib_subagent.1.gz
/usr/share/snmp/mibs/LIBVIRT-MIB.txt

References

Summary

In this tutorial we learn how to install libvirt-snmp.x86_64 on Amazon Linux 2 using yum.