How To Install docbook-dsssl on Kali Linux
Introduction
In this tutorial we learn how to install docbook-dsssl
on Kali Linux.
What is docbook-dsssl
docbook-dsssl is:
This package provides DSSSL stylesheets which let you convert DocBook SGML or XML files to various formats.
This package contains two DocBook DSSSL stylesheets, one for “print” output and one for HTML. The print stylesheet can be used in conjunction with the RTF and the TeX back-ends that OpenJade provides to produce output suitable for printing. The HTML stylesheet can be used to convert DocBook documents into HTML.
The stylesheets are modular in design so that you can extend and customize them.
Note that you can also perform DocBook XML styling using the “docbook-xsl” package, which provides the XSL stylesheets. The XSL stylesheets are more actively maintained and contain more new features than these DSSSL stylesheets.
There are three methods to install docbook-dsssl
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-dsssl 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-dsssl
using apt-get
by running the following command:
sudo apt-get -y install docbook-dsssl
Install docbook-dsssl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install docbook-dsssl
using apt
by running the following command:
sudo apt -y install docbook-dsssl
Install docbook-dsssl 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-dsssl
using aptitude
by running the following command:
sudo aptitude -y install docbook-dsssl
How To Uninstall docbook-dsssl on Kali Linux
To uninstall only the docbook-dsssl
package we can use the following command:
sudo apt-get remove docbook-dsssl
Uninstall docbook-dsssl And Its Dependencies
To uninstall docbook-dsssl
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove docbook-dsssl
Remove docbook-dsssl Configurations and Data
To remove docbook-dsssl
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge docbook-dsssl
Remove docbook-dsssl configuration, data, and all of its dependencies
We can use the following command to remove docbook-dsssl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge docbook-dsssl
Dependencies
docbook-dsssl have the following dependencies:
References
Summary
In this tutorial we learn how to install docbook-dsssl
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.