How To Install texlive-gates on Fedora 36

In this tutorial we learn how to install texlive-gates in Fedora 36. texlive-gates is Support for writing modular and customisable code

Introduction

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

What is texlive-gates

The package provides the means of writing code in a modular fashion (called gates) with names, which can be externally controlled (e.g. they can be disabled, subjected to conditionals, loops…) and/or augmented with new chunks. Thus complex code may easily be customised without having to rewrite it, or even understand its implementation can be modified, and new ones can be added, without endangering the whole design. This allows code to be hacked in ways the original authors might have never envisioned. The gates package is implemented independently for both TeX and Lua. The TeX implementation, running in any current environment, requires the texapi package, whereas the Lua version can be run with any Lua interpreter, not just LuaTeX.

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

Install texlive-gates 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-gates using dnf by running the following command:

sudo dnf -y install texlive-gates

Install texlive-gates 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-gates using yum by running the following command:

sudo yum -y install texlive-gates

How To Uninstall texlive-gates on Fedora 36

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

sudo dnf remove texlive-gates

texlive-gates Package Contents on Fedora 36

/usr/share/licenses/texlive-gates
/usr/share/licenses/texlive-gates/lppl1.txt
/usr/share/texlive/texmf-dist/tex/generic/gates
/usr/share/texlive/texmf-dist/tex/generic/gates/gates.lua
/usr/share/texlive/texmf-dist/tex/generic/gates/gates.sty
/usr/share/texlive/texmf-dist/tex/generic/gates/gates.tex
/usr/share/texlive/texmf-dist/tex/generic/gates/t-gates.tex

References

Summary

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