How To Install texlive-patchcmd on Fedora 36

In this tutorial we learn how to install texlive-patchcmd in Fedora 36. texlive-patchcmd is Change the definition of an existing command

Introduction

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

What is texlive-patchcmd

The package provides a command \patchcommand that can be used to add material at the beginning and/or the end of the replacement text of an existing macro. It works for macros with any number of normal arguments, including those that were defined with \DeclareRobustCommand.

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

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

sudo dnf -y install texlive-patchcmd

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

sudo yum -y install texlive-patchcmd

How To Uninstall texlive-patchcmd on Fedora 36

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

sudo dnf remove texlive-patchcmd

texlive-patchcmd Package Contents on Fedora 36

/usr/share/licenses/texlive-patchcmd
/usr/share/licenses/texlive-patchcmd/pd.txt
/usr/share/texlive/texmf-dist/tex/latex/patchcmd
/usr/share/texlive/texmf-dist/tex/latex/patchcmd/patchcmd.sty

References

Summary

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