How To Install texlive-de-macro on Fedora 36

In this tutorial we learn how to install texlive-de-macro in Fedora 36. texlive-de-macro is Expand private macros in a document

Introduction

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

What is texlive-de-macro

De-macro is a Python script that helps authors who like to use private LaTeX macros (for example, as abbreviations). A technical editor or a cooperating author may balk at such a manuscript; you can avoid manuscript rejection misery by running de-macro on it. De-macro will expand macros defined in (re)newcommand or (re)newenvironment commands, within the document, or in the document’s “private” package file.

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

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

sudo dnf -y install texlive-de-macro

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

sudo yum -y install texlive-de-macro

How To Uninstall texlive-de-macro on Fedora 36

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

sudo dnf remove texlive-de-macro

texlive-de-macro Package Contents on Fedora 36

/usr/bin/de-macro
/usr/share/texlive/texmf-dist/doc/support/de-macro
/usr/share/texlive/texmf-dist/doc/support/de-macro/README
/usr/share/texlive/texmf-dist/doc/support/de-macro/user-guide.pdf
/usr/share/texlive/texmf-dist/doc/support/de-macro/user-guide.tex
/usr/share/texlive/texmf-dist/scripts/de-macro
/usr/share/texlive/texmf-dist/scripts/de-macro/de-macro

References

Summary

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