How To Install docbook-xsl-doc-html on Debian 10

Learn how to install docbook-xsl-doc-html on Debian 10 with this tutorial. docbook-xsl-doc-html is stylesheets for processing DocBook XML files (HTML documentation)

Introduction

In this tutorial we learn how to install docbook-xsl-doc-html on Debian 10.

What is docbook-xsl-doc-html

docbook-xsl-doc-html is:

DocBook XSL stylesheets are modular XSL stylesheets for processing documents composed with the DocBook XML DTD and its derivatives.

This package contains the documentation for the DocBook XSL stylesheets and explanations for the parameters you can use in HTML format.

There are three methods to install docbook-xsl-doc-html 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 docbook-xsl-doc-html Using apt-get

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

sudo apt-get update

After updating apt database, We can install docbook-xsl-doc-html using apt-get by running the following command:

sudo apt-get -y install docbook-xsl-doc-html

Install docbook-xsl-doc-html Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install docbook-xsl-doc-html using apt by running the following command:

sudo apt -y install docbook-xsl-doc-html

Install docbook-xsl-doc-html 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 docbook-xsl-doc-html using aptitude by running the following command:

sudo aptitude -y install docbook-xsl-doc-html

How To Uninstall docbook-xsl-doc-html on Debian 10

To uninstall only the docbook-xsl-doc-html package we can use the following command:

sudo apt-get remove docbook-xsl-doc-html

Uninstall docbook-xsl-doc-html And Its Dependencies

To uninstall docbook-xsl-doc-html and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove docbook-xsl-doc-html

Remove docbook-xsl-doc-html Configurations and Data

To remove docbook-xsl-doc-html configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge docbook-xsl-doc-html

Remove docbook-xsl-doc-html configuration, data, and all of its dependencies

We can use the following command to remove docbook-xsl-doc-html configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge docbook-xsl-doc-html

Dependencies

docbook-xsl-doc-html have the following dependencies:

References

Summary

In this tutorial we learn how to install docbook-xsl-doc-html package on Debian 10 using different package management tools: apt, apt-get and aptitude.