How To Install texlive-boolexpr on Fedora 36

In this tutorial we learn how to install texlive-boolexpr in Fedora 36. texlive-boolexpr is A boolean expression evaluator and a switch command

Introduction

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

What is texlive-boolexpr

The \boolexpr macro evaluates boolean expressions in a purely expandable way. \boolexpr{ A \OR B \AND C } expands to 0 if the logical expression is TRUE. A, B, C may be such as 0\else 1\fi; - conditionals 1\fi; - another \boolexpr \boolexpr may be used with \ifcase \AND C } What to do if true \else What to do if false \fi The \switch command (which is also expandable) has the form \switch \case{} … \case{} … … \otherwise … \endswitch

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

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

sudo dnf -y install texlive-boolexpr

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

sudo yum -y install texlive-boolexpr

How To Uninstall texlive-boolexpr on Fedora 36

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

sudo dnf remove texlive-boolexpr

texlive-boolexpr Package Contents on Fedora 36

/usr/share/licenses/texlive-boolexpr
/usr/share/licenses/texlive-boolexpr/lppl1.txt
/usr/share/texlive/texmf-dist/tex/latex/boolexpr
/usr/share/texlive/texmf-dist/tex/latex/boolexpr/boolexpr.sty

References

Summary

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