How To Install texlive-nag on Fedora 36

In this tutorial we learn how to install texlive-nag in Fedora 36. texlive-nag is Detecting and warning about obsolete LaTeX commands

Introduction

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

What is texlive-nag

Old habits die hard. All the same, there are commands, classes and packages which are outdated and superseded. The nag package provides routines to warn the user about the use of such obsolete things. As an example, we provide an extension that detects many of the “sins” described in l2tabu.

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

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

sudo dnf -y install texlive-nag

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

sudo yum -y install texlive-nag

How To Uninstall texlive-nag on Fedora 36

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

sudo dnf remove texlive-nag

texlive-nag Package Contents on Fedora 36

/usr/share/licenses/texlive-nag
/usr/share/licenses/texlive-nag/lppl1.txt
/usr/share/texlive/texmf-dist/tex/latex/nag
/usr/share/texlive/texmf-dist/tex/latex/nag/nag-abort.cfg
/usr/share/texlive/texmf-dist/tex/latex/nag/nag-experimental.cfg
/usr/share/texlive/texmf-dist/tex/latex/nag/nag-l2tabu.cfg
/usr/share/texlive/texmf-dist/tex/latex/nag/nag-orthodox.cfg
/usr/share/texlive/texmf-dist/tex/latex/nag/nag.sty

References

Summary

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