How To Install texlive-latex-base on Debian 10

Learn how to install texlive-latex-base on Debian 10 with this tutorial. texlive-latex-base is TeX Live

Introduction

In this tutorial we learn how to install texlive-latex-base on Debian 10.

What is texlive-latex-base

texlive-latex-base is:

These packages are either mandated by the core LaTeX team, or very widely used and strongly recommended in practice.

This package includes the following CTAN packages:

ae – Virtual fonts for T1 encoded CMR-fonts

amscls – AMS document classes for LaTeX

amsmath – AMS mathematical facilities for LaTeX

babel – Multilingual support for Plain TeX or LaTeX

babel-english – Babel support for English

babelbib – Multilingual bibliographies

carlisle – David Carlisle’s small packages

colortbl – Add colour to LaTeX tables

fancyhdr – Extensive control of page headers and footers in LaTeX2e

fix2col – Fix miscellaneous two column mode features

geometry – Flexible and complete interface to document dimensions

graphics – The LaTeX standard graphics bundle

graphics-cfg – Sample configuration files for LaTeX color and graphics

hyperref – Extensive support for hypertext in LaTeX

latex – A TeX macro package that defines LaTeX

latex-bin – LaTeX executables and man pages

latex-fonts – A collection of fonts used in LaTeX distributions

latexconfig – configuration files for LaTeX-related formats

ltxmisc – Miscellaneous LaTeX packages, etc

mfnfss – Packages to typeset oldgerman and pandora fonts in LaTeX

mptopdf – mpost to PDF, native MetaPost graphics inclusion

natbib – Flexible bibliography support

oberdiek – A bundle of packages submitted by Heiko Oberdiek

pslatex – Use PostScript fonts by default

psnfss – Font support for common PostScript fonts

pspicture – PostScript picture support

tools – The LaTeX standard tools bundle

url – Verbatim with URL-sensitive line breaks

There are three methods to install texlive-latex-base 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 texlive-latex-base 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-latex-base using apt-get by running the following command:

sudo apt-get -y install texlive-latex-base

Install texlive-latex-base Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install texlive-latex-base

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

sudo aptitude -y install texlive-latex-base

How To Uninstall texlive-latex-base on Debian 10

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

sudo apt-get remove texlive-latex-base

Uninstall texlive-latex-base And Its Dependencies

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

sudo apt-get -y autoremove texlive-latex-base

Remove texlive-latex-base Configurations and Data

To remove texlive-latex-base configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge texlive-latex-base

Remove texlive-latex-base configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge texlive-latex-base

Dependencies

texlive-latex-base have the following dependencies:

References

Summary

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