How To Install texlive-context-bnf on Fedora 36
Introduction
In this tutorial we learn how to install texlive-context-bnf
on Fedora 36.
What is texlive-context-bnf
The module provides a simple way to write good-looking BNF- style grammars in ConTeXt. Grammars are written using the BNF syntax right in your ConTeXt documents, so there is a clear separation between content and layout. This allows the user to decide exactly how the grammar is to be displayed, while also allowing the gist of the grammar to be understood from simply looking at the source ConTeXt document.
We can use yum
or dnf
to install texlive-context-bnf
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install texlive-context-bnf.
Install texlive-context-bnf 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-context-bnf
using dnf
by running the following command:
sudo dnf -y install texlive-context-bnf
Install texlive-context-bnf 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-context-bnf
using yum
by running the following command:
sudo yum -y install texlive-context-bnf
How To Uninstall texlive-context-bnf on Fedora 36
To uninstall only the texlive-context-bnf
package we can use the following command:
sudo dnf remove texlive-context-bnf
texlive-context-bnf Package Contents on Fedora 36
/usr/share/licenses/texlive-context-bnf
/usr/share/licenses/texlive-context-bnf/gpl.txt
/usr/share/texlive/texmf-dist/tex/context/third/bnf
/usr/share/texlive/texmf-dist/tex/context/third/bnf/t-bnf.tex
References
Summary
In this tutorial we learn how to install texlive-context-bnf
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).