How To Install texlive-xnewcommand on Fedora 36

In this tutorial we learn how to install texlive-xnewcommand in Fedora 36. texlive-xnewcommand is Define \global and \protected commands with \newcommand

Introduction

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

What is texlive-xnewcommand

The package provides the means of defining \global and (e-TeX) \protected commands, within the framework of LaTeX’s standard \newcommand.

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

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

sudo dnf -y install texlive-xnewcommand

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

sudo yum -y install texlive-xnewcommand

How To Uninstall texlive-xnewcommand on Fedora 36

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

sudo dnf remove texlive-xnewcommand

texlive-xnewcommand Package Contents on Fedora 36

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

References

Summary

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