How To Install texlive-gitfile-info on Fedora 36

In this tutorial we learn how to install texlive-gitfile-info in Fedora 36. texlive-gitfile-info is Get git metadata for a specific file

Introduction

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

What is texlive-gitfile-info

If you are using git to control versions of LaTeX-files, you may want to show yourself or other users or devs the current version of the file, information about the author and last edited date. All packages for git known make that kind of information available for the whole repository. But sometimes you have a lot of files within the same repository in different versions, from different authors etc. Perhaps you also split up a big project in small files and want to show within the document who had edited what. This package gives you the opportunity to do so.

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

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

sudo dnf -y install texlive-gitfile-info

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

sudo yum -y install texlive-gitfile-info

How To Uninstall texlive-gitfile-info on Fedora 36

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

sudo dnf remove texlive-gitfile-info

texlive-gitfile-info Package Contents on Fedora 36

/usr/share/licenses/texlive-gitfile-info
/usr/share/licenses/texlive-gitfile-info/lppl1.3.txt
/usr/share/texlive/texmf-dist/doc/support/gitfile-info
/usr/share/texlive/texmf-dist/doc/support/gitfile-info/README
/usr/share/texlive/texmf-dist/doc/support/gitfile-info/gfi-run.py
/usr/share/texlive/texmf-dist/doc/support/gitfile-info/gitfile-info.gfi
/usr/share/texlive/texmf-dist/doc/support/gitfile-info/gitfile-info.pdf
/usr/share/texlive/texmf-dist/doc/support/gitfile-info/post-commit.py
/usr/share/texlive/texmf-dist/doc/support/gitfile-info/post-merge.py
/usr/share/texlive/texmf-dist/tex/latex/gitfile-info
/usr/share/texlive/texmf-dist/tex/latex/gitfile-info/gitfile-info.sty

References

Summary

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