How To Install dblatex on Debian 10

Learn how to install dblatex on Debian 10 with this tutorial. dblatex is Produces DVI, PostScript, PDF documents from DocBook sources

Introduction

In this tutorial we learn how to install dblatex on Debian 10.

What is dblatex

dblatex is:

DocBook to LaTeX Publishing that transforms your SGML/XML DocBook documents to DVI, PostScript or PDF by translating them in pure LaTeX as a first process. MathML 2.0 markups are supported, too. It originally started as a clone of DB2LaTeX, but has been enhanced extensively since then and is actively maintained by the upstream author.

There are three methods to install dblatex 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 dblatex Using apt-get

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

sudo apt-get update

After updating apt database, We can install dblatex using apt-get by running the following command:

sudo apt-get -y install dblatex

Install dblatex Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install dblatex using apt by running the following command:

sudo apt -y install dblatex

Install dblatex 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 dblatex using aptitude by running the following command:

sudo aptitude -y install dblatex

How To Uninstall dblatex on Debian 10

To uninstall only the dblatex package we can use the following command:

sudo apt-get remove dblatex

Uninstall dblatex And Its Dependencies

To uninstall dblatex and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove dblatex

Remove dblatex Configurations and Data

To remove dblatex configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge dblatex

Remove dblatex configuration, data, and all of its dependencies

We can use the following command to remove dblatex configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge dblatex

Dependencies

dblatex have the following dependencies:

References

Summary

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