How To Install texlive-gitinfo on Fedora 36

In this tutorial we learn how to install texlive-gitinfo in Fedora 36. texlive-gitinfo is Access metadata from the git distributed version control system

Introduction

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

What is texlive-gitinfo

The package makes it possible to incorporate git version control metadata into documents. For memoir users, the package provides the means to tailor page headers and footers to use the metadata. Note this version is now deprecated, but is kept on the archive, pro tem, for continuity for existing users. All new repositories should use gitinfo2.

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

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

sudo dnf -y install texlive-gitinfo

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

sudo yum -y install texlive-gitinfo

How To Uninstall texlive-gitinfo on Fedora 36

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

sudo dnf remove texlive-gitinfo

texlive-gitinfo Package Contents on Fedora 36

/usr/share/licenses/texlive-gitinfo
/usr/share/licenses/texlive-gitinfo/lppl1.3.txt
/usr/share/texlive/texmf-dist/tex/latex/gitinfo
/usr/share/texlive/texmf-dist/tex/latex/gitinfo/gitinfo.sty
/usr/share/texlive/texmf-dist/tex/latex/gitinfo/gitsetinfo.sty

References

Summary

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