How To Install texlive-simplebnf on Fedora 36

In this tutorial we learn how to install texlive-simplebnf in Fedora 36. texlive-simplebnf is A simple package to format Backus-Naur form (BNF)

Introduction

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

What is texlive-simplebnf

This package provides a simple way to format Backus-Naur form (BNF). The included bnfgrammar environment parses BNF expressions (possibly annotated), so users can write readable BNF expressions in their documents. The package requires expl3, xparse, and mathtools.

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

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

sudo dnf -y install texlive-simplebnf

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

sudo yum -y install texlive-simplebnf

How To Uninstall texlive-simplebnf on Fedora 36

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

sudo dnf remove texlive-simplebnf

texlive-simplebnf Package Contents on Fedora 36

/usr/share/texlive/texmf-dist/doc/latex/simplebnf
/usr/share/texlive/texmf-dist/doc/latex/simplebnf/LICENSE
/usr/share/texlive/texmf-dist/doc/latex/simplebnf/README.md
/usr/share/texlive/texmf-dist/doc/latex/simplebnf/simplebnf-doc.pdf
/usr/share/texlive/texmf-dist/doc/latex/simplebnf/simplebnf-doc.tex
/usr/share/texlive/texmf-dist/tex/latex/simplebnf
/usr/share/texlive/texmf-dist/tex/latex/simplebnf/simplebnf.sty

References

Summary

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