How To Install texlive-xoptarg on Fedora 36

In this tutorial we learn how to install texlive-xoptarg in Fedora 36. texlive-xoptarg is Expandable macros that take an optional argument

Introduction

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

What is texlive-xoptarg

Commands that take an optional argument are not ordinarily expandable; this package allows such commands to be expandable provided that they have at least one mandatory argument.

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

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

sudo dnf -y install texlive-xoptarg

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

sudo yum -y install texlive-xoptarg

How To Uninstall texlive-xoptarg on Fedora 36

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

sudo dnf remove texlive-xoptarg

texlive-xoptarg Package Contents on Fedora 36

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

References

Summary

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