How To Install texlive-luatex on CentOS 8

texlive-luatex is The LuaTeX engine

Introduction

In this tutorial we learn how to install texlive-luatex on CentOS 8.

What is texlive-luatex

LuaTeX is an extended version of pdfTeX using Lua as an embedded scripting language. The LuaTeX project’s main objective is to provide an open and configurable variant of TeX while at the same time offering downward compatibility. LuaTeX uses Unicode (as UTF-8) as its default input encoding, and is able to use modern (OpenType) fonts (for both text and mathematics). It should be noted that LuaTeX is still under development; its specification has been declared stable, but absolute stability may not in practice be assumed.

We can use yum or dnf to install texlive-luatex on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install texlive-luatex.

Install texlive-luatex on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo dnf -y install texlive-luatex

Install texlive-luatex on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo yum -y install texlive-luatex

How To Uninstall texlive-luatex on CentOS 8

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

sudo dnf remove texlive-luatex

texlive-luatex Package Contents on CentOS 8

/usr/bin/dviluatex
/usr/bin/luajittex
/usr/bin/luatex
/usr/bin/luatex53
/usr/bin/texlua
/usr/bin/texlua53
/usr/bin/texluac
/usr/bin/texluajit
/usr/bin/texluajitc
/usr/lib/.build-id
/usr/lib/.build-id/2e
/usr/lib/.build-id/2e/da1af6742f7723a2ad38ea85ee9186ce2adea1
/usr/lib/.build-id/64
/usr/lib/.build-id/64/725fe8aeca38424fb92f5ccddb479c1275fa9d
/usr/lib/.build-id/9a
/usr/lib/.build-id/9a/9d70f98fc0a14e9f9c4148757b6ecd4e494bde
/usr/share/licenses/texlive-luatex
/usr/share/licenses/texlive-luatex/gpl2.txt
/usr/share/man/man1/luatex.1.gz
/usr/share/man/man1/texlua.1.gz
/usr/share/man/man1/texluac.1.gz
/usr/share/texlive/texmf-dist/doc/luatex/base
/usr/share/texlive/texmf-dist/doc/luatex/base/luatex-backend.tex
/usr/share/texlive/texmf-dist/doc/luatex/base/luatex-callbacks.tex
/usr/share/texlive/texmf-dist/doc/luatex/base/luatex-contents.tex
/usr/share/texlive/texmf-dist/doc/luatex/base/luatex-enhancements.tex
/usr/share/texlive/texmf-dist/doc/luatex/base/luatex-fontloader.tex
/usr/share/texlive/texmf-dist/doc/luatex/base/luatex-fonts.tex
/usr/share/texlive/texmf-dist/doc/luatex/base/luatex-graphics.tex
/usr/share/texlive/texmf-dist/doc/luatex/base/luatex-introduction.tex
/usr/share/texlive/texmf-dist/doc/luatex/base/luatex-languages.tex
/usr/share/texlive/texmf-dist/doc/luatex/base/luatex-logos.tex
/usr/share/texlive/texmf-dist/doc/luatex/base/luatex-lua.tex
/usr/share/texlive/texmf-dist/doc/luatex/base/luatex-math.tex
/usr/share/texlive/texmf-dist/doc/luatex/base/luatex-modifications.tex
/usr/share/texlive/texmf-dist/doc/luatex/base/luatex-nodes.tex
/usr/share/texlive/texmf-dist/doc/luatex/base/luatex-style.tex
/usr/share/texlive/texmf-dist/doc/luatex/base/luatex-tex.tex
/usr/share/texlive/texmf-dist/doc/luatex/base/luatex-titlepage.tex
/usr/share/texlive/texmf-dist/doc/luatex/base/luatex.pdf
/usr/share/texlive/texmf-dist/doc/luatex/base/luatex.tex
/usr/share/texlive/texmf-dist/tex/generic/config/luatex-unicode-letters.tex
/usr/share/texlive/texmf-dist/tex/generic/config/luatexiniconfig.tex
/usr/share/texlive/texmf-dist/web2c/texmfcnf.lua

References

Summary

In this tutorial we learn how to install texlive-luatex on CentOS 8 using yum and dnf.