How To Install texlive-full on Debian 9

In this tutorial we learn how to install texlive-full on Debian 9. texlive-full is TeX Live

Introduction

In this tutorial we learn how to install texlive-full on Debian 9.

What is texlive-full

texlive-full is:

The TeX Live software distribution offers a complete TeX system. It encompasses programs for typesetting, previewing and printing of TeX documents in many different languages, and a large collection of TeX macros and font libraries. . The distribution also includes extensive general documentation about TeX, as well as the documentation accompanying the included software packages.

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

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

sudo apt-get update

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

sudo apt-get -y install texlive-full

Install texlive-full Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install texlive-full

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

sudo aptitude -y install texlive-full

How To Uninstall texlive-full on Debian 9

To uninstall only the texlive-full package we can use the following command:

sudo apt-get remove texlive-full

Uninstall texlive-full And Its Dependencies

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

sudo apt-get -y autoremove texlive-full

Remove texlive-full Configurations and Data

To remove texlive-full configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge texlive-full

Remove texlive-full configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge texlive-full

Dependencies

texlive-full have the following dependencies:

References

Summary

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