How To Install libxml-filter-saxt-perl on Debian 12

Learn how to install libxml-filter-saxt-perl on Debian 12 with this tutorial. libxml-filter-saxt-perl is Perl module for replicating events to several event handlers

Introduction

In this tutorial we learn how to install libxml-filter-saxt-perl on Debian 12.

What is libxml-filter-saxt-perl

libxml-filter-saxt-perl is:

The XML::Filter::SAXT module is like the Unix ’tee’ command in that it multiplexes the input stream to several output streams. In this case, the input stream is a PerlSAX event producer (like XML::Parser::PerlSAX) and the output streams are PerlSAX handlers or filters.

The SAXT constructor takes a list of hash references. Each hash specifies an output handler. The hash keys can be: DocumentHandler, DTDHandler, EntityResolver or Handler, where Handler is a combination of the previous three and acts as the default handler. E.g. if DocumentHandler is not specified, it will try to use Handler.

There are three methods to install libxml-filter-saxt-perl on Debian 12. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libxml-filter-saxt-perl Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libxml-filter-saxt-perl using apt-get by running the following command:

sudo apt-get -y install libxml-filter-saxt-perl

Install libxml-filter-saxt-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libxml-filter-saxt-perl using apt by running the following command:

sudo apt -y install libxml-filter-saxt-perl

Install libxml-filter-saxt-perl Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libxml-filter-saxt-perl using aptitude by running the following command:

sudo aptitude -y install libxml-filter-saxt-perl

How To Uninstall libxml-filter-saxt-perl on Debian 12

To uninstall only the libxml-filter-saxt-perl package we can use the following command:

sudo apt-get remove libxml-filter-saxt-perl

Uninstall libxml-filter-saxt-perl And Its Dependencies

To uninstall libxml-filter-saxt-perl and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove libxml-filter-saxt-perl

Remove libxml-filter-saxt-perl Configurations and Data

To remove libxml-filter-saxt-perl configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge libxml-filter-saxt-perl

Remove libxml-filter-saxt-perl configuration, data, and all of its dependencies

We can use the following command to remove libxml-filter-saxt-perl configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libxml-filter-saxt-perl

Dependencies

libxml-filter-saxt-perl have the following dependencies:

References

Summary

In this tutorial we learn how to install libxml-filter-saxt-perl package on Debian 12 using different package management tools: apt, apt-get and aptitude.