How To Install texlive-latex-base on Debian 11

In this tutorial we learn how to install texlive-latex-base on Debian 11. texlive-latex-base is TeX Live

Introduction

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

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

atbegshi – Execute stuff at \shipout time

atveryend – Hooks at the very end of a document

auxhook – Hooks for auxiliary files

babel – Multilingual support for Plain TeX or LaTeX

babel-english – Babel support for English

babelbib – Multilingual bibliographies

bigintcalc – Integer calculations on very large numbers

bitset – Handle bit-vector datatype

bookmark – A new bookmark (outline) organization for hyperref

carlisle – David Carlisle’s small packages

colortbl – Add colour to LaTeX tables

epstopdf-pkg – Call epstopdf “on the fly”

etexcmds – Avoid name clashes with e-TeX commands

fancyhdr – Extensive control of page headers and footers in LaTeX2e

firstaid – First aid for external LaTeX files and packages that need updating

fix2col – Fix miscellaneous two column mode features

geometry – Flexible and complete interface to document dimensions

gettitlestring – Clean up title references

graphics – The LaTeX standard graphics bundle

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

grfext – Manipulate the graphics package’s list of extensions

hopatch – Load patches for packages

hycolor – Implements colour for packages hyperref and bookmark

hyperref – Extensive support for hypertext in LaTeX

intcalc – Expandable arithmetic operations with integers

kvdefinekeys – Define keys for use in the kvsetkeys package

kvoptions – Key value format for package options

kvsetkeys – Key value parser with default handler support

l3backend – LaTeX3 backend drivers

l3kernel – LaTeX3 programming conventions

l3packages – High-level LaTeX3 concepts

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

letltxmacro – Let assignment for LaTeX macros

ltxcmds – Some LaTeX kernel commands for general use

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

pagesel – Select pages of a document for output

pdfescape – Implements pdfTeX’s escape features using TeX or e-TeX

pslatex – Use PostScript fonts by default

psnfss – Font support for common PostScript fonts

pspicture – PostScript picture support

refcount – Counter operations with label references

rerunfilecheck – Checksum based rerun checks on auxiliary files

stringenc – Converting a string between different encodings

tools – The LaTeX standard tools bundle

uniquecounter – Provides unlimited unique counter

url – Verbatim with URL-sensitive line breaks

There are three methods to install texlive-latex-base on Debian 11. 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 11

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 11, 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 11 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 11 using different package management tools: apt, apt-get and aptitude.