How To Install texlive-gitver on Fedora 36

In this tutorial we learn how to install texlive-gitver in Fedora 36. texlive-gitver is Get the current git hash of a project and typeset it in the document

Introduction

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

What is texlive-gitver

This package will get a description of the current git version of the document and store it in a command \gitVer. If memoir or fancyhdr are in use, it will also add this to the document footers unless the option “noheader” is passed. The package also defines a command \versionBox which outputs a box containing the version and date of compilation. The package requires hyperref, catchfile, pdftexcmds, and datetime.

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

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

sudo dnf -y install texlive-gitver

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

sudo yum -y install texlive-gitver

How To Uninstall texlive-gitver on Fedora 36

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

sudo dnf remove texlive-gitver

texlive-gitver Package Contents on Fedora 36

/usr/share/licenses/texlive-gitver
/usr/share/licenses/texlive-gitver/lppl.txt
/usr/share/texlive/texmf-dist/doc/latex/gitver
/usr/share/texlive/texmf-dist/doc/latex/gitver/COPYING
/usr/share/texlive/texmf-dist/doc/latex/gitver/ChangeLog
/usr/share/texlive/texmf-dist/doc/latex/gitver/README.md
/usr/share/texlive/texmf-dist/doc/latex/gitver/gitver.pdf
/usr/share/texlive/texmf-dist/doc/latex/gitver/gitver.tex
/usr/share/texlive/texmf-dist/tex/latex/gitver
/usr/share/texlive/texmf-dist/tex/latex/gitver/gitver.sty

References

Summary

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