How To Install texlive-luatex on Debian 9

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

Introduction

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

What is texlive-luatex

texlive-luatex is:

Packages for LuaTeX, a Unicode-aware extension of pdfTeX, using Lua as an embedded scripting and extension language. http://luatex.org/

This package includes the following CTAN packages:

checkcites – Check citation commands in a document

chickenize – Use lua callbacks for “interesting” textual effects

cloze – A LuaLaTeX package for creating cloze texts

cstypo – Czech typography rules enforced through LuaTeX hooks

ctablestack – Catcode table stable support

enigma – Encrypt documents with a three rotor Enigma

interpreter – Translate input files on the fly

lua-check-hyphen – Mark hyphenations in a document, for checking

lua-visual-debug – Visual debugging with LuaLaTeX

lua2dox – Auto-documentation of lua code

luabibentry – Repeat BibTeX entries in a LuaLaTeX document body

luabidi – Bidirectional typesetting with LuaLaTeX

luacode – Helper for executing lua code from within TeX

luahyphenrules – Loading patterns in LuaLaTeX with language.dat

luaindex – Create index using LuaLaTeX

luainputenc – Replacing inputenc for use in LuaTeX

luaintro – Examples from the book “Einfuhrung in LuaTeX und LuaLaTeX”

lualatex-doc – A guide to use of LaTeX with LuaTeX

lualatex-math – Fixes for mathematics-related LuaLaTeX issues

lualibs – Additional Lua functions for LuaTeX macro programmers

luamplib – Use LuaTeX’s built-in MetaPost interpreter

luaotfload – OpenType ’loader’ for Plain TeX and LaTeX

luasseq – Drawing spectral sequences in LuaLaTeX

luatex85 – pdfTeX aliases for LuaTeX

luatexbase – Basic resource management for LuaTeX code

luatexko – Typeset Korean with Lua(La)TeX

luatextra – Additional macros for Plain TeX and LaTeX in LuaTeX

luatodonotes – Add editing annotations in a LuaLaTeX document

luaxml – Lua library for reading and serialising XML files

nodetree – visualize node lists in a tree view

odsfile – Read OpenDocument Spreadsheet documents as LaTeX tables

placeat – Absolute content positioning

selnolig – Selectively disable typographic ligatures

showhyphens – Show all possible hyphenations in LuaLaTeX

spelling – Support for spell-checking of LuaTeX documents

ucharcat – Implementation of the (new in 2015) XeTeX \Ucharcat command in lua, for LuaTeX

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

sudo apt-get -y install texlive-luatex

Install texlive-luatex Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install texlive-luatex

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

sudo aptitude -y install texlive-luatex

How To Uninstall texlive-luatex on Debian 9

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

sudo apt-get remove texlive-luatex

Uninstall texlive-luatex And Its Dependencies

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

sudo apt-get -y autoremove texlive-luatex

Remove texlive-luatex Configurations and Data

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

sudo apt-get -y purge texlive-luatex

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

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

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

Dependencies

texlive-luatex have the following dependencies:

References

Summary

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