How To Install texlive-inlinedef on Fedora 36

In this tutorial we learn how to install texlive-inlinedef in Fedora 36. texlive-inlinedef is Inline expansions within definitions

Introduction

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

What is texlive-inlinedef

The package provides a macro \Inline that precedes a \def or \gdef. Within the definition text of an inlined definition, keywords such as \Expand may be used to selectively inline certain expansions at definition-time. This eases the process of redefining macros in terms of the original definition, as well as definitions in which the token that must be expanded is deep within, where \expandafter would be difficult and \edef is not suitable. Another application is as an easier version of \aftergroup, by defining a macro in terms of expanded local variables, then ending the group with \expandafter\endgroup\macro.

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

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

sudo dnf -y install texlive-inlinedef

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

sudo yum -y install texlive-inlinedef

How To Uninstall texlive-inlinedef on Fedora 36

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

sudo dnf remove texlive-inlinedef

texlive-inlinedef Package Contents on Fedora 36

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

References

Summary

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