How To Install texlive-luatex on Kali Linux

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

Introduction

In this tutorial we learn how to install texlive-luatex on Kali Linux.

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:

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

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

interpreter – Translate input files on the fly

kanaparser – Kana parser for LuaTeX

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

luacode – Helper for executing lua code from within TeX

luacolor – Color support based on LuaTeX’s node attributes

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

luamplib – Use LuaTeX’s built-in MetaPost interpreter

luaotfload – OpenType ’loader’ for Plain TeX and LaTeX

luapackageloader – Allow LuaTeX to load external Lua packages

luaprogtable – Programmable table interface for LuaLaTeX

luarandom – Create lists of random numbers

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

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

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

optex – LuaTeX format based on Plain TeX and OPmac

pdfarticle – Class for pdf publications

placeat – Absolute content positioning

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

selnolig – Selectively disable typographic ligatures

spelling – Support for spell-checking of LuaTeX documents

stricttex – Strictly balanced brackets and numbers in command names

typewriter – Typeset with a randomly variable monospace font

uninormalize – Unicode normalization support

There are three methods to install texlive-luatex on Kali Linux. 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 on Kali Linux first since aptitude is usually not installed by default on Kali Linux. 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 Kali Linux

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