How To Install texlive-realhats on Fedora 36

In this tutorial we learn how to install texlive-realhats in Fedora 36. texlive-realhats is Put real hats on symbols instead of ^

Introduction

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

What is texlive-realhats

This LaTeX package makes \hat put real hats on symbols. The package depends on amsmath, calc, graphicx, ifthen, lcg, and stackengine.

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

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

sudo dnf -y install texlive-realhats

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

sudo yum -y install texlive-realhats

How To Uninstall texlive-realhats on Fedora 36

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

sudo dnf remove texlive-realhats

texlive-realhats Package Contents on Fedora 36

/usr/share/texlive/texmf-dist/doc/latex/realhats
/usr/share/texlive/texmf-dist/doc/latex/realhats/README.md
/usr/share/texlive/texmf-dist/doc/latex/realhats/readme_images
/usr/share/texlive/texmf-dist/doc/latex/realhats/readme_images/hats.png
/usr/share/texlive/texmf-dist/doc/latex/realhats/realhats.pdf
/usr/share/texlive/texmf-dist/tex/latex/realhats
/usr/share/texlive/texmf-dist/tex/latex/realhats/hats
/usr/share/texlive/texmf-dist/tex/latex/realhats/hats/realhats-ash.pdf
/usr/share/texlive/texmf-dist/tex/latex/realhats/hats/realhats-beret.pdf
/usr/share/texlive/texmf-dist/tex/latex/realhats/hats/realhats-cowboy.pdf
/usr/share/texlive/texmf-dist/tex/latex/realhats/hats/realhats-crown.pdf
/usr/share/texlive/texmf-dist/tex/latex/realhats/hats/realhats-dunce.pdf
/usr/share/texlive/texmf-dist/tex/latex/realhats/hats/realhats-fez.pdf
/usr/share/texlive/texmf-dist/tex/latex/realhats/hats/realhats-makelatexgreatagain.pdf
/usr/share/texlive/texmf-dist/tex/latex/realhats/hats/realhats-santa.pdf
/usr/share/texlive/texmf-dist/tex/latex/realhats/hats/realhats-sombrero.pdf
/usr/share/texlive/texmf-dist/tex/latex/realhats/hats/realhats-tophat.pdf
/usr/share/texlive/texmf-dist/tex/latex/realhats/hats/realhats-witch.pdf
/usr/share/texlive/texmf-dist/tex/latex/realhats/realhats.sty

References

Summary

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