How To Install texlive-xetex on Debian 9

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

Introduction

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

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

bidishadowtext – Bidi-aware shadow text

bidipresentation – Experimental bidi presentation

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

philokalia – A font to typeset the Philokalia Books

ptext – A ’lipsum’ for Persian

quran – An easy way to typeset any part of The Holy Quran

realscripts – Access OpenType subscript and superscript glyphs

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

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

xesearch – A string finder for XeTeX

xespotcolor – Spot colours support for XeLaTeX

xetex – Unicode and OpenType-enabled TeX engine.

xetex-itrans – Itrans input maps for use with XeLaTeX

xetex-pstricks – Running PSTricks under XeTeX

xetex-tibetan – XeTeX input maps for Unicode Tibetan

xetexconfig – Configuration files for XeTeX.

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 9. 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 9

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