How To Install texlive-generic-recommended on Debian 9

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

Introduction

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

texlive-generic-recommended is:

Recommended packages that work with multiple formats.

This package includes the following CTAN packages:

apnum – Arbitrary precision numbers implemented by TeX macros

epsf – Simple macros for EPS inclusion

fontname – Scheme for naming fonts in TeX

genmisc –

kastrup – Convert numbers into binary, octal and hexadecimal

multido – A loop facility for Generic TeX

path – Typeset paths, making them breakable

tex-ps – TeX to PostScript generic macros and add-ons

ulem – Package for underlining

There are three methods to install texlive-generic-recommended 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.

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

sudo apt-get update

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

sudo apt-get -y install texlive-generic-recommended

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install texlive-generic-recommended

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

sudo aptitude -y install texlive-generic-recommended

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

sudo apt-get remove texlive-generic-recommended

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

sudo apt-get -y autoremove texlive-generic-recommended

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

sudo apt-get -y purge texlive-generic-recommended

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

sudo apt-get -y autoremove --purge texlive-generic-recommended

Dependencies

texlive-generic-recommended have the following dependencies:

References

Summary

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