How To Install texlive-scrlayer-fancyhdr on Fedora 36

In this tutorial we learn how to install texlive-scrlayer-fancyhdr in Fedora 36. texlive-scrlayer-fancyhdr is Combining package fancyhdr with KOMA-Script’s scrlayer

Introduction

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

What is texlive-scrlayer-fancyhdr

This LaTeX package uses KOMA-Script’s scrlayer to redefine the page styles of package fancyhdr. This allows the combination of features of fancyhdr with features of scrlayer. Before KOMA-Script v3.33 scrlayer-fancyhdr was part of KOMA-Script itself.

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

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

sudo dnf -y install texlive-scrlayer-fancyhdr

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

sudo yum -y install texlive-scrlayer-fancyhdr

How To Uninstall texlive-scrlayer-fancyhdr on Fedora 36

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

sudo dnf remove texlive-scrlayer-fancyhdr

texlive-scrlayer-fancyhdr Package Contents on Fedora 36

/usr/share/licenses/texlive-scrlayer-fancyhdr
/usr/share/licenses/texlive-scrlayer-fancyhdr/lppl1.3c.txt
/usr/share/texlive/texmf-dist/doc/latex/scrlayer-fancyhdr
/usr/share/texlive/texmf-dist/doc/latex/scrlayer-fancyhdr/LICENSE.md
/usr/share/texlive/texmf-dist/doc/latex/scrlayer-fancyhdr/README.md
/usr/share/texlive/texmf-dist/doc/latex/scrlayer-fancyhdr/scrlayer-fancyhdr.pdf
/usr/share/texlive/texmf-dist/tex/latex/scrlayer-fancyhdr
/usr/share/texlive/texmf-dist/tex/latex/scrlayer-fancyhdr/scrlayer-fancyhdr.sty

References

Summary

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