How To Install texlive-currfile on AlmaLinux 8

In this tutorial we learn how to install texlive-currfile in AlmaLinux 8. texlive-currfile is Provide file name and path of input files

Introduction

In this tutorial we learn how to install texlive-currfile on AlmaLinux 8.

What is texlive-currfile

The package provides macros holding file name information (directory, base name, extension, full name and full path) for files read by LaTeX \input and \include macros; it uses the file hooks provided by the author’s filehook. In particular, it restores the parent file name after the trailing \clearpage of an \included file; as a result, the macros may be usefully employed in the page header and footer of the last printed page of such a file. The depth of inclusion is made available, together with the “parent” (including file) and “parents” (all including files to the root of the tree). The package supersedes FiNK.

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

Install texlive-currfile on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install texlive-currfile using dnf by running the following command:

sudo dnf -y install texlive-currfile

Install texlive-currfile on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install texlive-currfile using yum by running the following command:

sudo yum -y install texlive-currfile

How To Uninstall texlive-currfile on AlmaLinux 8

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

sudo dnf remove texlive-currfile

References

Summary

In this tutorial we learn how to install texlive-currfile on AlmaLinux 8 using yum and dnf.