How To Install texlive-currfile on CentOS 7
Introduction
In this tutorial we learn how to install texlive-currfile
on CentOS 7.
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. date
We can use yum
or dnf
to install texlive-currfile
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install texlive-currfile.
Install texlive-currfile on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install texlive-currfile
using yum
by running the following command:
Install texlive-currfile on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
After updating yum database, We can install texlive-currfile
using dnf
by running the following command:
How To Uninstall texlive-currfile on CentOS 7
To uninstall only the texlive-currfile
package we can use the following command:
References
Summary
In this tutorial we learn how to install texlive-currfile
on CentOS 7 using yum
and dnf
.