How To Install texlive-luacode on Fedora 36

In this tutorial we learn how to install texlive-luacode in Fedora 36. texlive-luacode is Helper for executing lua code from within TeX

Introduction

In this tutorial we learn how to install texlive-luacode on Fedora 36.

What is texlive-luacode

Executing Lua code from within TeX with directlua can sometimes be tricky counting backslashes may be hard, and Lua comments don’t work the way you expect. The package provides the \luaexec command and the luacode(*) environments to help with these problems.

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

Install texlive-luacode on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install texlive-luacode

Install texlive-luacode on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install texlive-luacode

How To Uninstall texlive-luacode on Fedora 36

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

sudo dnf remove texlive-luacode

texlive-luacode Package Contents on Fedora 36

/usr/share/licenses/texlive-luacode
/usr/share/licenses/texlive-luacode/lppl1.3.txt
/usr/share/texlive/texmf-dist/tex/lualatex/luacode
/usr/share/texlive/texmf-dist/tex/lualatex/luacode/luacode.sty

References

Summary

In this tutorial we learn how to install texlive-luacode on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).