How To Install texlive-luatex on Debian 12

Learn how to install texlive-luatex on Debian 12 with this tutorial. texlive-luatex is TeX Live

Introduction

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

What is texlive-luatex

texlive-luatex is:

Packages for LuaTeX, a TeX engine using Lua as an embedded scripting and extension language, with native support for Unicode, OpenType/TrueType fonts, and both PDF and DVI output. The LuaTeX engine itself (and plain formats) are in collection-basic.

This package includes the following CTAN packages:

addliga – Access basic ligatures in legacy TrueType fonts

auto-pst-pdf-lua – Using LuaLaTeX together with PostScript code

barracuda – Draw barcodes with Lua

bezierplot – Approximate smooth function graphs with cubic bezier splines for use with TikZ or MetaPost

blopentype – A basic LuaTeX OpenType handler

checkcites – Check citation commands in a document

chickenize – Use lua callbacks for “interesting” textual effects

chinese-jfm – Luatexja-jfm files for Chinese typesetting

cloze – A LuaLaTeX package for creating cloze texts

combofont – Add NFSS-declarations of combo fonts to LuaLaTeX documents

cstypo – Czech typography rules enforced through LuaTeX hooks

ctablestack – Catcode table stable support

ekdosis – Typesetting TEI-xml compliant Critical Editions

emoji – Emoji support in (Lua)LaTeX

emojicite – Add emojis to citations

enigma – Encrypt documents with a three rotor Enigma

innerscript – Modifies automatic mathematics spacing

interpreter – Translate input files on the fly

kanaparser – Kana parser for LuaTeX

ligtype – Comprehensive ligature suppression functionalities

linebreaker – Prevent overflow boxes with LuaLaTeX

lt3luabridge – Execute Lua code in any TeX engine that exposes the shell

lua-typo – Highlighting typographical flaws with LuaLaTeX

lua-uca – Unicode Collation Algorithm library for Lua

lua-ul – Underlining for LuaLaTeX

lua-uni-algos – Unicode algorithms for LuaTeX

lua-visual-debug – Visual debugging with LuaLaTeX

lua-widow-control – Automatically remove widows and orphans from any document

luaaddplot – An extension to pgfplots’ \addplot macro

luacas – A computer algebra system for users of LuaLaTeX

luacensor – Securely redact sensitive information using Lua

luacode – Helper for executing lua code from within TeX

luacolor – Color support based on LuaTeX’s node attributes

luacomplex – Operations on complex numbers inside LaTeX documents using Lua

luagcd – Computation of gcd of integers inside LaTeX using Lua

luahyphenrules – Loading patterns in LuaLaTeX with language.dat

luaimageembed – Embed images as base64-encoded strings

luaindex – Create index using LuaLaTeX

luainputenc – Replacing inputenc for use in LuaTeX

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

luakeys – A Lua module for parsing key-value options

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

lualatex-math – Fixes for mathematics-related LuaLaTeX issues

lualatex-truncate – A wrapper for using the truncate package with LuaLaTeX

lualibs – Additional Lua functions for LuaTeX macro programmers

luamathalign – More flexible alignment in amsmath environments

luamaths – Provide standard mathematical operations inside LaTeX documents using Lua

luamodulartables – Generate modular addition and multiplication tables

luamplib – Use LuaTeX’s built-in MetaPost interpreter

luaoptions – Option handling for LuaLaTeX packages

luaotfload – OpenType ’loader’ for Plain TeX and LaTeX

luapackageloader – Allow LuaTeX to load external Lua packages

luaprogtable – Programmable table interface for LuaLaTeX

luaquotes – Smart setting of quotation marks

luarandom – Create lists of random numbers

luaset – Set Operations inside LaTeX documents using Lua

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

luatruthtable – Generate truth tables of boolean values in LuaLaTeX

luavlna – Prevent line breaks after single letter words, units, or academic titles

luaxml – Lua library for reading and serialising XML files

lutabulartools – Some useful LuaLaTeX-based tabular tools

minim – A modern plain format for the LuaTeX engine

minim-math – Extensive maths for LuaTeX

minim-mp – Low-level mplib integration for LuaTeX

minim-pdf – Low-level PDF integration for LuaTeX

minim-xmp – Embed XMP metadata in PDF with LuaTeX

newpax – Experimental package to extract and reinsert PDF annotations

nodetree – Visualize node lists in a tree view

odsfile – Read OpenDocument Spreadsheet documents as LaTeX tables

optex – LuaTeX format based on Plain TeX and OPmac

pdfarticle – Class for pdf publications

pdfextra – Extra PDF features for (Op)TeX

penlight – Penlight Lua libraries made available to LuaLaTeX users

piton – Typeset Python listings with LPEG

placeat – Absolute content positioning

plantuml – Support for rendering UML diagrams using the syntax and tool of PlantUML

pyluatex – Execute Python code on the fly in your LaTeX documents

scikgtex – Mark research contributions in scientific documents and embed them in PDF metadata

selnolig – Selectively disable typographic ligatures

showhyphenation – Marking of hyphenation points

showkerning – Showing kerns in a document

spacekern – Kerning between words and against space

spelling – Support for spell-checking of LuaTeX documents

stricttex – Strictly balanced brackets and numbers in command names

truthtable – Automatically generate truth tables for given variables and statements

tsvtemplate – Apply a template to a tsv file

typewriter – Typeset with a randomly variable monospace font

uninormalize – Unicode normalization support

yamlvars – A YAML parser and tool for easy LaTeX definition creation

There are three methods to install texlive-luatex on Debian 12. 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 12

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