How To Install texlive-base on Debian 10

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

Introduction

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

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:

texlive.infra – basic TeX Live infrastructure

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

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

gsftopk – Convert “Ghostscript fonts” to PK files

hyph-utf8 – Hyphenation patterns expressed in UTF-8

hyphen-base – core hyphenation support files

ifluatex – Provides the \ifluatex switch

ifxetex – Am I running under XeTeX?

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

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

pdftex – A TeX extension for direct creation of PDF

plain – The Plain TeX format

tetex – scripts and files originally from teTeX

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)

unicode-data – Unicode data and loaders for TeX

updmap-map – auto-generated font map files

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 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-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 10

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