How To Install libxml-writer-string-perl on Debian 10
Introduction
In this tutorial we learn how to install libxml-writer-string-perl on Debian 10.
What is libxml-writer-string-perl
libxml-writer-string-perl is:
XML::Writer::String implements a bare-bones class specifically for the purpose of capturing data from the XML::Writer module. XML::Writer expects an IO::Handle object and writes XML data to the specified object (or STDOUT) via it’s print() method. This module simulates such an object for the specific purpose of providing the required print() method.
It is recommended that $writer->end() is called prior to calling $s->value() to check for well-formedness.
There are three methods to install libxml-writer-string-perl on Debian 10. 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-writer-string-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-writer-string-perl using apt-get by running the following command:
sudo apt-get -y install libxml-writer-string-perl
Install libxml-writer-string-perl Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install libxml-writer-string-perl using apt by running the following command:
sudo apt -y install libxml-writer-string-perl
Install libxml-writer-string-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-writer-string-perl using aptitude by running the following command:
sudo aptitude -y install libxml-writer-string-perl
How To Uninstall libxml-writer-string-perl on Debian 10
To uninstall only the libxml-writer-string-perl package we can use the following command:
sudo apt-get remove libxml-writer-string-perl
Uninstall libxml-writer-string-perl And Its Dependencies
To uninstall libxml-writer-string-perl and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove libxml-writer-string-perl
Remove libxml-writer-string-perl Configurations and Data
To remove libxml-writer-string-perl configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge libxml-writer-string-perl
Remove libxml-writer-string-perl configuration, data, and all of its dependencies
We can use the following command to remove libxml-writer-string-perl configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libxml-writer-string-perl
Dependencies
libxml-writer-string-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libxml-writer-string-perl package on Debian 10 using different package management tools: apt, apt-get and aptitude.