How To Install texlive-namedef on Fedora 36

In this tutorial we learn how to install texlive-namedef in Fedora 36. texlive-namedef is TeX definitions with named parameters

Introduction

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

What is texlive-namedef

This package provides a prefix \named to be used in TeX definitions so that parameters can be identified by their name rather than by number, giving parameters a semantic rather than syntactic meaning, making it easy to understand long definitions. A usual definition reads \named\def\SayHello#[person]{Hello, #[person]!} and \named will figure out the numbering of the parameters for you.

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

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

sudo dnf -y install texlive-namedef

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

sudo yum -y install texlive-namedef

How To Uninstall texlive-namedef on Fedora 36

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

sudo dnf remove texlive-namedef

texlive-namedef Package Contents on Fedora 36

/usr/share/licenses/texlive-namedef
/usr/share/licenses/texlive-namedef/lppl1.3c.txt
/usr/share/texlive/texmf-dist/doc/generic/namedef
/usr/share/texlive/texmf-dist/doc/generic/namedef/DEPENDS.txt
/usr/share/texlive/texmf-dist/doc/generic/namedef/README.md
/usr/share/texlive/texmf-dist/doc/generic/namedef/namedef.pdf
/usr/share/texlive/texmf-dist/tex/generic/namedef
/usr/share/texlive/texmf-dist/tex/generic/namedef/namedef.sty

References

Summary

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