How To Install linuxdoc-tools-latex on Debian 9

In this tutorial we learn how to install linuxdoc-tools-latex on Debian 9. linuxdoc-tools-latex is LaTeX/PS/PDF output facility of LinuxDoc-Tools

Introduction

In this tutorial we learn how to install linuxdoc-tools-latex on Debian 9.

What is linuxdoc-tools-latex

linuxdoc-tools-latex is:

LinuxDoc-Tools is a SGML converter for the LinuxDoc DTD only. This is a dependency package to provide the required dependencies for LaTeX/PS/PDF conversion facility of LinuxDoc-Tools. See the description of linuxdoc-tools package for more detail.

There are three methods to install linuxdoc-tools-latex on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install linuxdoc-tools-latex Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install linuxdoc-tools-latex

Install linuxdoc-tools-latex Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install linuxdoc-tools-latex using apt by running the following command:

sudo apt -y install linuxdoc-tools-latex

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

sudo aptitude -y install linuxdoc-tools-latex

How To Uninstall linuxdoc-tools-latex on Debian 9

To uninstall only the linuxdoc-tools-latex package we can use the following command:

sudo apt-get remove linuxdoc-tools-latex

Uninstall linuxdoc-tools-latex And Its Dependencies

To uninstall linuxdoc-tools-latex and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove linuxdoc-tools-latex

Remove linuxdoc-tools-latex Configurations and Data

To remove linuxdoc-tools-latex configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge linuxdoc-tools-latex

Remove linuxdoc-tools-latex configuration, data, and all of its dependencies

We can use the following command to remove linuxdoc-tools-latex configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge linuxdoc-tools-latex

Dependencies

linuxdoc-tools-latex have the following dependencies:

References

Summary

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