How To Install texlive-syntaxdi on Fedora 36

In this tutorial we learn how to install texlive-syntaxdi in Fedora 36. texlive-syntaxdi is Create “railroad” syntax diagrams

Introduction

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

What is texlive-syntaxdi

This package provides TikZ styles for creating special syntax diagrams known as “railroad” diagrams. The package was originally distributed as part of the schule bundle.

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

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

sudo dnf -y install texlive-syntaxdi

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

sudo yum -y install texlive-syntaxdi

How To Uninstall texlive-syntaxdi on Fedora 36

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

sudo dnf remove texlive-syntaxdi

texlive-syntaxdi Package Contents on Fedora 36

/usr/share/licenses/texlive-syntaxdi
/usr/share/licenses/texlive-syntaxdi/lppl1.3.txt
/usr/share/texlive/texmf-dist/doc/latex/syntaxdi
/usr/share/texlive/texmf-dist/doc/latex/syntaxdi/README
/usr/share/texlive/texmf-dist/doc/latex/syntaxdi/syntaxdi.pdf
/usr/share/texlive/texmf-dist/doc/latex/syntaxdi/syntaxdi.tex
/usr/share/texlive/texmf-dist/tex/latex/syntaxdi
/usr/share/texlive/texmf-dist/tex/latex/syntaxdi/syntaxdi.sty

References

Summary

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