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

In this tutorial we learn how to install perl-XML-CommonNS on Rocky Linux 8. perl-XML-CommonNS is List of commonly used XML name spaces

Introduction

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

What is perl-XML-CommonNS

This provides definitions of some XML name spaces as strings and XML

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

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

sudo dnf -y install perl-XML-CommonNS

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

sudo yum -y install perl-XML-CommonNS

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

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

sudo dnf remove perl-XML-CommonNS

perl-XML-CommonNS Package Contents on Rocky Linux 8

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

References

Summary

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