How To Install docbook-xsl-doc-pdf on Kali Linux

In this tutorial we learn how to install docbook-xsl-doc-pdf on Kali Linux. docbook-xsl-doc-pdf is stylesheets for processing DocBook XML files (PDF documentation)

Introduction

In this tutorial we learn how to install docbook-xsl-doc-pdf on Kali Linux.

What is docbook-xsl-doc-pdf

docbook-xsl-doc-pdf 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 PDF format.

There are three methods to install docbook-xsl-doc-pdf on Kali Linux. 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-pdf 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-pdf using apt-get by running the following command:

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

Install docbook-xsl-doc-pdf Using apt

Update apt database with apt using the following command.

sudo apt update

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

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

Install docbook-xsl-doc-pdf Using aptitude

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

sudo aptitude update

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

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

How To Uninstall docbook-xsl-doc-pdf on Kali Linux

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

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

Uninstall docbook-xsl-doc-pdf And Its Dependencies

To uninstall docbook-xsl-doc-pdf and its dependencies that are no longer needed by Kali Linux, we can use the command below:

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

Remove docbook-xsl-doc-pdf Configurations and Data

To remove docbook-xsl-doc-pdf configuration and data from Kali Linux we can use the following command:

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

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

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

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

Dependencies

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

References

Summary

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