How To Install perl-XML-Stream on AlmaLinux 8

In this tutorial we learn how to install perl-XML-Stream in AlmaLinux 8. perl-XML-Stream is XML

Introduction

In this tutorial we learn how to install perl-XML-Stream on AlmaLinux 8.

What is perl-XML-Stream

This module provides the user with methods to connect to a remote server, send a stream of XML to the server, and receive/parse an XML stream from the server. It is primarily based work for the Etherx XML router developed by the Jabber Development Team. For more information about this project visit http XML will be used to handle the tags received from the server. These tags are passed in the format defined at instantiation time. the closing tag of an object is seen, the tree is finished and passed to the call back function. What the user does with it from there is up to them. For a detailed description of how this module works, and about the data structure that it returns, please view the source of Stream.pm and look at the detailed description at the end of the file.

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

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

sudo dnf -y install perl-XML-Stream

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

sudo yum -y install perl-XML-Stream

How To Uninstall perl-XML-Stream on AlmaLinux 8

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

sudo dnf remove perl-XML-Stream

References

Summary

In this tutorial we learn how to install perl-XML-Stream on AlmaLinux 8 using yum and dnf.