How To Install rakudo-XML on CentOS 7

In this tutorial we learn how to install rakudo-XML on CentOS 7. rakudo-XML is An Object-Oriented XML Library for Perl 6

Introduction

In this tutorial we learn how to install rakudo-XML on CentOS 7.

What is rakudo-XML

XML (originally called Exemel) is a full fledged XML library for Perl 6. It handles parsing, generating, manipulating and querying XML. It supports element queries, parent element information, namespaces, and an extendable interface. It supports every major kind of XML Node (XML - Document (XML - Element (XML - Text (XML - Comment (XML - PI (XML - CDATA (XML You can easily serialize the objects back to XML text by using any XML

We can use yum or dnf to install rakudo-XML on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install rakudo-XML.

Install rakudo-XML on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install rakudo-XML using yum by running the following command:

sudo yum -y install rakudo-XML

Install rakudo-XML on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install rakudo-XML using dnf by running the following command:

sudo dnf -y install rakudo-XML

How To Uninstall rakudo-XML on CentOS 7

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

sudo dnf remove rakudo-XML

References

Summary

In this tutorial we learn how to install rakudo-XML on CentOS 7 using yum and dnf.