How To Install perl-Sys-Virt on Rocky Linux 8

In this tutorial we learn how to install perl-Sys-Virt on Rocky Linux 8. perl-Sys-Virt is Represent and manage a libvirt hypervisor connection

Introduction

In this tutorial we learn how to install perl-Sys-Virt on Rocky Linux 8.

What is perl-Sys-Virt

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

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

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

sudo dnf -y install perl-Sys-Virt

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

sudo yum -y install perl-Sys-Virt

How To Uninstall perl-Sys-Virt on Rocky Linux 8

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

sudo dnf remove perl-Sys-Virt

perl-Sys-Virt Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/72
/usr/lib/.build-id/72/c09c8b383247dd2d01d8fd4eb5f7f96a7fc6ed
/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/DomainCheckpoint.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/NWFilterBinding.pm
/usr/lib64/perl5/vendor_perl/Sys/Virt/Network.pm
/usr/lib64/perl5/vendor_perl/Sys/Virt/NetworkPort.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/Virt.bs
/usr/lib64/perl5/vendor_perl/auto/Sys/Virt/Virt.so
/usr/share/doc/perl-Sys-Virt
/usr/share/doc/perl-Sys-Virt/AUTHORS
/usr/share/doc/perl-Sys-Virt/Changes
/usr/share/doc/perl-Sys-Virt/README
/usr/share/doc/perl-Sys-Virt/examples
/usr/share/doc/perl-Sys-Virt/examples/auth.pl
/usr/share/doc/perl-Sys-Virt/examples/devices.pl
/usr/share/doc/perl-Sys-Virt/examples/dhcp-leases.pl
/usr/share/doc/perl-Sys-Virt/examples/dom-fsinfo.pl
/usr/share/doc/perl-Sys-Virt/examples/dom-ifinfo.pl
/usr/share/doc/perl-Sys-Virt/examples/dom-migrate.pl
/usr/share/doc/perl-Sys-Virt/examples/dom-stats.pl
/usr/share/doc/perl-Sys-Virt/examples/dump-info.pl
/usr/share/doc/perl-Sys-Virt/examples/dump-xml.pl
/usr/share/doc/perl-Sys-Virt/examples/emulator-pin.pl
/usr/share/doc/perl-Sys-Virt/examples/events.pl
/usr/share/doc/perl-Sys-Virt/examples/fs-freeze.pl
/usr/share/doc/perl-Sys-Virt/examples/hv-stat.pl
/usr/share/doc/perl-Sys-Virt/examples/iothreadinfo.pl
/usr/share/doc/perl-Sys-Virt/examples/node-alloc.pl
/usr/share/doc/perl-Sys-Virt/examples/node-cpu.pl
/usr/share/doc/perl-Sys-Virt/examples/node-devlist.pl
/usr/share/doc/perl-Sys-Virt/examples/node-info.pl
/usr/share/doc/perl-Sys-Virt/examples/node-ksm.pl
/usr/share/doc/perl-Sys-Virt/examples/open-console.pl
/usr/share/doc/perl-Sys-Virt/examples/save-restore.pl
/usr/share/doc/perl-Sys-Virt/examples/send-key.pl
/usr/share/doc/perl-Sys-Virt/examples/vcpuinfo.pl
/usr/share/doc/perl-Sys-Virt/examples/vol-download-all.pl
/usr/share/doc/perl-Sys-Virt/examples/vol-download-nonblock.pl
/usr/share/doc/perl-Sys-Virt/examples/vol-download.pl
/usr/share/doc/perl-Sys-Virt/examples/vol-sparse.pl
/usr/share/doc/perl-Sys-Virt/examples/vol-upload-all.pl
/usr/share/doc/perl-Sys-Virt/examples/vol-upload-nonblock.pl
/usr/share/doc/perl-Sys-Virt/examples/vol-upload.pl
/usr/share/licenses/perl-Sys-Virt
/usr/share/licenses/perl-Sys-Virt/LICENSE
/usr/share/man/man3/Sys::Virt.3pm.gz
/usr/share/man/man3/Sys::Virt::Domain.3pm.gz
/usr/share/man/man3/Sys::Virt::DomainCheckpoint.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::NWFilterBinding.3pm.gz
/usr/share/man/man3/Sys::Virt::Network.3pm.gz
/usr/share/man/man3/Sys::Virt::NetworkPort.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 on Rocky Linux 8 using yum and dnf.