How To Install texlive-gitinfo2 on Fedora 36
Introduction
In this tutorial we learn how to install texlive-gitinfo2
on Fedora 36.
What is texlive-gitinfo2
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. gitinfo2 is a new release of gitinfo. The changes to version 2 are not backward-compatible, and the package name has been changed to avoid impact on existing users’ repositories. All new repositories should use this version of the package.
We can use yum
or dnf
to install texlive-gitinfo2
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install texlive-gitinfo2.
Install texlive-gitinfo2 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-gitinfo2
using dnf
by running the following command:
sudo dnf -y install texlive-gitinfo2
Install texlive-gitinfo2 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-gitinfo2
using yum
by running the following command:
sudo yum -y install texlive-gitinfo2
How To Uninstall texlive-gitinfo2 on Fedora 36
To uninstall only the texlive-gitinfo2
package we can use the following command:
sudo dnf remove texlive-gitinfo2
texlive-gitinfo2 Package Contents on Fedora 36
/usr/share/licenses/texlive-gitinfo2
/usr/share/licenses/texlive-gitinfo2/lppl1.3.txt
/usr/share/texlive/texmf-dist/tex/latex/gitinfo2
/usr/share/texlive/texmf-dist/tex/latex/gitinfo2/gitexinfo.sty
/usr/share/texlive/texmf-dist/tex/latex/gitinfo2/gitinfo2.sty
References
Summary
In this tutorial we learn how to install texlive-gitinfo2
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).