How To Install perl-XML-Dumper on Rocky Linux 8

In this tutorial we learn how to install perl-XML-Dumper on Rocky Linux 8. perl-XML-Dumper is Perl module for dumping Perl objects from/to XML

Introduction

In this tutorial we learn how to install perl-XML-Dumper on Rocky Linux 8.

What is perl-XML-Dumper

XML XML data that were previously dumped by the module and convert it back to Perl. Perl objects are blessed back to their original packaging; if the modules are installed on the system where the perl objects are reconstituted from xml, they will behave as expected. Intuitively, if the perl objects are converted and reconstituted in the same environment, all should be well.

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

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

sudo dnf -y install perl-XML-Dumper

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

sudo yum -y install perl-XML-Dumper

How To Uninstall perl-XML-Dumper on Rocky Linux 8

To uninstall only the perl-XML-Dumper package we can use the following command:

sudo dnf remove perl-XML-Dumper

perl-XML-Dumper Package Contents on Rocky Linux 8

/usr/share/doc/perl-XML-Dumper
/usr/share/doc/perl-XML-Dumper/Changes
/usr/share/doc/perl-XML-Dumper/README
/usr/share/man/man3/XML::Dumper.3pm.gz
/usr/share/perl5/vendor_perl/XML
/usr/share/perl5/vendor_perl/XML/Dumper.pm

References

Summary

In this tutorial we learn how to install perl-XML-Dumper on Rocky Linux 8 using yum and dnf.