How To Install texlive-luatex on Ubuntu 18.04

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

Introduction

In this tutorial we learn how to install texlive-luatex on Ubuntu 18.04.

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

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

cstypo – Czech typography rules enforced through LuaTeX hooks

ctablestack – Catcode table stable support

enigma – Encrypt documents with a three rotor Enigma

fontloader-luaotfload – Alternative fontloaders for luaotfload

interpreter – Translate input files on the fly

lua-visual-debug – Visual debugging with LuaLaTeX

lua2dox – Auto-documentation of lua code

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

luapackageloader – Allow LuaTeX to load external Lua packages

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

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

spelling – Support for spell-checking of LuaTeX documents

typewriter – Typeset with a randomly variable monospace font

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

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 Ubuntu 18.04, 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 Ubuntu 18.04 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

References

Summary

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