How To Install perl-Sys-Virt.x86_64 on Amazon Linux 2

In this tutorial we learn how to install perl-Sys-Virt.x86_64 in Amazon Linux 2. perl-Sys-Virt.x86_64 is Represent and manage a libvirt hypervisor connection

Introduction

In this tutorial we learn how to install perl-Sys-Virt.x86_64 on Amazon Linux 2.

What is perl-Sys-Virt.x86_64

The Sys virtual machine management APIs. This allows machines running within arbitrary virtualization containers to be managed with a consistent API.

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

Install perl-Sys-Virt.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 perl-Sys-Virt.x86_64 using yum by running the following command:

sudo yum -y install perl-Sys-Virt.x86_64

How To Uninstall perl-Sys-Virt.x86_64 on Amazon Linux 2

To uninstall only the perl-Sys-Virt.x86_64 package we can use the following command:

sudo yum remove perl-Sys-Virt.x86_64

perl-Sys-Virt.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/perl5/vendor_perl/Sys
/usr/lib64/perl5/vendor_perl/Sys/Virt
/usr/lib64/perl5/vendor_perl/Sys/Virt.pm
/usr/lib64/perl5/vendor_perl/Sys/Virt/Domain.pm
/usr/lib64/perl5/vendor_perl/Sys/Virt/DomainSnapshot.pm
/usr/lib64/perl5/vendor_perl/Sys/Virt/Error.pm
/usr/lib64/perl5/vendor_perl/Sys/Virt/Event.pm
/usr/lib64/perl5/vendor_perl/Sys/Virt/Interface.pm
/usr/lib64/perl5/vendor_perl/Sys/Virt/NWFilter.pm
/usr/lib64/perl5/vendor_perl/Sys/Virt/Network.pm
/usr/lib64/perl5/vendor_perl/Sys/Virt/NodeDevice.pm
/usr/lib64/perl5/vendor_perl/Sys/Virt/Secret.pm
/usr/lib64/perl5/vendor_perl/Sys/Virt/StoragePool.pm
/usr/lib64/perl5/vendor_perl/Sys/Virt/StorageVol.pm
/usr/lib64/perl5/vendor_perl/Sys/Virt/Stream.pm
/usr/lib64/perl5/vendor_perl/auto/Sys
/usr/lib64/perl5/vendor_perl/auto/Sys/Virt
/usr/lib64/perl5/vendor_perl/auto/Sys/Virt/.packlist
/usr/lib64/perl5/vendor_perl/auto/Sys/Virt/Virt.so
/usr/share/doc/perl-Sys-Virt-3.9.0
/usr/share/doc/perl-Sys-Virt-3.9.0/AUTHORS
/usr/share/doc/perl-Sys-Virt-3.9.0/Changes
/usr/share/doc/perl-Sys-Virt-3.9.0/README
/usr/share/doc/perl-Sys-Virt-3.9.0/examples
/usr/share/doc/perl-Sys-Virt-3.9.0/examples/auth.pl
/usr/share/doc/perl-Sys-Virt-3.9.0/examples/devices.pl
/usr/share/doc/perl-Sys-Virt-3.9.0/examples/dhcp-leases.pl
/usr/share/doc/perl-Sys-Virt-3.9.0/examples/dom-fsinfo.pl
/usr/share/doc/perl-Sys-Virt-3.9.0/examples/dom-ifinfo.pl
/usr/share/doc/perl-Sys-Virt-3.9.0/examples/dom-migrate.pl
/usr/share/doc/perl-Sys-Virt-3.9.0/examples/dom-stats.pl
/usr/share/doc/perl-Sys-Virt-3.9.0/examples/dump-info.pl
/usr/share/doc/perl-Sys-Virt-3.9.0/examples/dump-xml.pl
/usr/share/doc/perl-Sys-Virt-3.9.0/examples/emulator-pin.pl
/usr/share/doc/perl-Sys-Virt-3.9.0/examples/events.pl
/usr/share/doc/perl-Sys-Virt-3.9.0/examples/fs-freeze.pl
/usr/share/doc/perl-Sys-Virt-3.9.0/examples/hv-stat.pl
/usr/share/doc/perl-Sys-Virt-3.9.0/examples/iothreadinfo.pl
/usr/share/doc/perl-Sys-Virt-3.9.0/examples/node-alloc.pl
/usr/share/doc/perl-Sys-Virt-3.9.0/examples/node-cpu.pl
/usr/share/doc/perl-Sys-Virt-3.9.0/examples/node-devlist.pl
/usr/share/doc/perl-Sys-Virt-3.9.0/examples/node-info.pl
/usr/share/doc/perl-Sys-Virt-3.9.0/examples/node-ksm.pl
/usr/share/doc/perl-Sys-Virt-3.9.0/examples/open-console.pl
/usr/share/doc/perl-Sys-Virt-3.9.0/examples/save-restore.pl
/usr/share/doc/perl-Sys-Virt-3.9.0/examples/send-key.pl
/usr/share/doc/perl-Sys-Virt-3.9.0/examples/vcpuinfo.pl
/usr/share/doc/perl-Sys-Virt-3.9.0/examples/vol-download-all.pl
/usr/share/doc/perl-Sys-Virt-3.9.0/examples/vol-download-nonblock.pl
/usr/share/doc/perl-Sys-Virt-3.9.0/examples/vol-download.pl
/usr/share/doc/perl-Sys-Virt-3.9.0/examples/vol-sparse.pl
/usr/share/doc/perl-Sys-Virt-3.9.0/examples/vol-upload-all.pl
/usr/share/doc/perl-Sys-Virt-3.9.0/examples/vol-upload-nonblock.pl
/usr/share/doc/perl-Sys-Virt-3.9.0/examples/vol-upload.pl
/usr/share/licenses/perl-Sys-Virt-3.9.0
/usr/share/licenses/perl-Sys-Virt-3.9.0/LICENSE
/usr/share/man/man3/Sys::Virt.3pm.gz
/usr/share/man/man3/Sys::Virt::Domain.3pm.gz
/usr/share/man/man3/Sys::Virt::DomainSnapshot.3pm.gz
/usr/share/man/man3/Sys::Virt::Error.3pm.gz
/usr/share/man/man3/Sys::Virt::Event.3pm.gz
/usr/share/man/man3/Sys::Virt::Interface.3pm.gz
/usr/share/man/man3/Sys::Virt::NWFilter.3pm.gz
/usr/share/man/man3/Sys::Virt::Network.3pm.gz
/usr/share/man/man3/Sys::Virt::NodeDevice.3pm.gz
/usr/share/man/man3/Sys::Virt::Secret.3pm.gz
/usr/share/man/man3/Sys::Virt::StoragePool.3pm.gz
/usr/share/man/man3/Sys::Virt::StorageVol.3pm.gz
/usr/share/man/man3/Sys::Virt::Stream.3pm.gz

References

Summary

In this tutorial we learn how to install perl-Sys-Virt.x86_64 on Amazon Linux 2 using yum.