How To Install texlive-exp-testopt on Fedora 36

In this tutorial we learn how to install texlive-exp-testopt in Fedora 36. texlive-exp-testopt is Expandable @testopt (and related) macros

Introduction

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

What is texlive-exp-testopt

The package provides an expandable variant of the LaTeX kernel command @testopt, named @expandable@testopt, and a more general @expandable@ifopt, both intended for package writers. Also we have a variant of \newcommand which uses these macros to check for optional arguments.

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

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

sudo dnf -y install texlive-exp-testopt

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

sudo yum -y install texlive-exp-testopt

How To Uninstall texlive-exp-testopt on Fedora 36

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

sudo dnf remove texlive-exp-testopt

texlive-exp-testopt Package Contents on Fedora 36

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

References

Summary

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