How To Install texlive-xetex on Debian 11

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

Introduction

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

What is texlive-xetex

texlive-xetex is:

Packages for XeTeX, the Unicode/OpenType-enabled TeX by Jonathan Kew, http://tug.org/xetex.

This package includes the following CTAN packages:

arabxetex – An ArabTeX-like interface for XeLaTeX

awesomebox – Draw admonition blocks in your documents, illustrated with FontAwesome icons

bidi-atbegshi – Bidi-aware shipout macros

bidicontour – Bidi-aware coloured contour around text

bidipagegrid – Bidi-aware page grid in background

bidipresentation – Experimental bidi presentation

bidishadowtext – Bidi-aware shadow text

businesscard-qrcode – Business cards with QR-Code

cqubeamer – LaTeX Beamer Template for Chongqing University

fixlatvian – Improve Latvian language support in XeLaTeX

font-change-xetex – Macros to change text and mathematics fonts in plain XeTeX

fontbook – Generate a font book

fontwrap – Bind fonts to specific unicode blocks

interchar – Managing character class schemes in XeTeX

na-position – Tables of relative positions of curves and asymptotes or tangents in Arabic documents

philokalia – A font to typeset the Philokalia Books

ptext – A ’lipsum’ for Persian

realscripts – Access OpenType subscript and superscript glyphs

simple-resume-cv – Template for a simple resume or curriculum vitae (CV), in XeLaTeX

simple-thesis-dissertation – Template for a simple thesis or dissertation (Ph.D. or master’s degree) or technical report, in XeLaTeX

tetragonos – Four-Corner codes of Chinese characters

ucharclasses – Font actions in XeTeX according to what is being processed

unicode-bidi – Experimental unicode bidi package for XeTeX

unisugar – Define syntactic sugar for Unicode LaTeX

xebaposter – Create beautiful scientific Persian/Latin posters using TikZ

xechangebar – An extension of package changebar that can be used with XeLaTeX

xecjk – Support for CJK documents in XeLaTeX

xecolor – Support for color in XeLaTeX

xecyr – Using Cyrillic languages in XeTeX

xeindex – Automatic index generation for XeLaTeX

xelatex-dev –

xesearch – A string finder for XeTeX

xespotcolor – Spot colours support for XeLaTeX

xetex – An extended variant of TeX for use with Unicode sources

xetex-itrans – Itrans input maps for use with XeLaTeX

xetex-pstricks – Running PSTricks under XeTeX

xetex-tibetan – XeTeX input maps for Unicode Tibetan

xetexconfig – crop.cfg for XeLaTeX

xetexfontinfo – Report font features in XeTeX

xetexko – Typeset Korean with Xe(La)TeX

xevlna – Insert non-breakable spaces using XeTeX

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

sudo apt-get -y install texlive-xetex

Install texlive-xetex Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install texlive-xetex

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

sudo aptitude -y install texlive-xetex

How To Uninstall texlive-xetex on Debian 11

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

sudo apt-get remove texlive-xetex

Uninstall texlive-xetex And Its Dependencies

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

sudo apt-get -y autoremove texlive-xetex

Remove texlive-xetex Configurations and Data

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

sudo apt-get -y purge texlive-xetex

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

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

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

Dependencies

texlive-xetex have the following dependencies:

References

Summary

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