How To Install texlive-base on Debian 11

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

Introduction

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

What is texlive-base

texlive-base is:

These files are regarded as basic for any TeX system, covering plain TeX macros, Computer Modern fonts, and configuration for common drivers; no LaTeX.

This package includes the following CTAN packages:

amsfonts – TeX fonts from the American Mathematical Society

bibtex – Process bibliographies for LaTeX, etc

cm – Computer Modern fonts

colorprofiles – Collection of free ICC profiles

dvipdfmx – An extended version of dvipdfm

dvips – A DVI to PostScript driver

ec – Computer modern fonts in T1 and TS1 encodings

enctex – A TeX extension that translates input on its way into TeX

etex – An extended version of TeX, from the NTS project

etex-pkg – E-TeX support package

glyphlist – Adobe Glyph List and TeX extensions

graphics-def – Colour and graphics option files

hyph-utf8 – Hyphenation patterns expressed in UTF-8

hyphen-base – core hyphenation support files

hyphenex – US English hyphenation exceptions file

ifplatform – Conditionals to test which platform is being used

iftex – Am I running under pdfTeX, XeTeX or LuaTeX?

knuth-lib – A small library of Metafont sources

knuth-local – Knuth’s local information

kpathsea – Path searching library for TeX-related files

lua-alt-getopt – Process application arguments the same way as getopt_long

luahbtex – LuaTeX with HarfBuzz library for glyph shaping

luatex – The LuaTeX engine

makeindex – Makeindex development sources

metafont – A system for specifying fonts

mflogo – LaTeX support for Metafont logo fonts

mfware – Supporting tools for use with Metafont

modes – A collection of Metafont mode_def’s

pdftex – A TeX extension for direct creation of PDF

plain – The Plain TeX format

tex – A sophisticated typesetting engine

tex-ini-files – Model TeX format creation files

texlive-common – TeX Live documentation (common elements)

texlive-docindex – top-level TeX Live doc.html, etc.

texlive-en – TeX Live manual (English)

texlive-msg-translations – translations of the TeX Live installer and TeX Live Manager

texlive-scripts – TeX Live infrastructure programs

texlive.infra – basic TeX Live infrastructure

unicode-data – Unicode data and loaders for TeX

xdvi – A DVI previewer for the X Window System

texdoc – Documentation access for TeX Live

texdoctk – Easy access to package documentation

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

sudo apt-get -y install texlive-base

Install texlive-base Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install texlive-base

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

sudo aptitude -y install texlive-base

How To Uninstall texlive-base on Debian 11

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

sudo apt-get remove texlive-base

Uninstall texlive-base And Its Dependencies

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

sudo apt-get -y autoremove texlive-base

Remove texlive-base Configurations and Data

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

sudo apt-get -y purge texlive-base

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

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

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

Dependencies

texlive-base have the following dependencies:

References

Summary

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