How To Install perl-XML-Filter-BufferText on CentOS 7

In this tutorial we learn how to install perl-XML-Filter-BufferText on CentOS 7. perl-XML-Filter-BufferText is Filter to put all characters() in one event

Introduction

In this tutorial we learn how to install perl-XML-Filter-BufferText on CentOS 7.

What is perl-XML-Filter-BufferText

This is a very simple filter. One common cause of grief (and programmer error) is that XML parsers aren’t required to provide character events in one chunk. They can, but are not forced to, and most don’t. This filter does the trivial but oft-repeated task of putting all characters into a single event.

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

Install perl-XML-Filter-BufferText on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install perl-XML-Filter-BufferText

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

sudo dnf -y install perl-XML-Filter-BufferText

How To Uninstall perl-XML-Filter-BufferText on CentOS 7

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

sudo dnf remove perl-XML-Filter-BufferText

References

Summary

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