How To Install texlive-currfile.noarch on Amazon Linux 2
Introduction
In this tutorial we learn how to install texlive-currfile.noarch on Amazon Linux 2.
What is texlive-currfile.noarch
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 to install texlive-currfile.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install texlive-currfile.noarch.
Install texlive-currfile.noarch on Amazon Linux 2 Using yum
Update yum database with yum using the following command.
sudo yum makecache --refresh
After updating yum database, We can install texlive-currfile.noarch using yum by running the following command:
sudo yum -y install texlive-currfile.noarch
How To Uninstall texlive-currfile.noarch on Amazon Linux 2
To uninstall only the texlive-currfile.noarch package we can use the following command:
sudo yum remove texlive-currfile.noarch
texlive-currfile.noarch Package Contents on Amazon Linux 2
/usr/share/doc/texlive-currfile-svn29012.0.7b
/usr/share/doc/texlive-currfile-svn29012.0.7b/lppl1.3.txt
/usr/share/texlive/texmf-dist/tex/latex/currfile/currfile-abspath.sty
/usr/share/texlive/texmf-dist/tex/latex/currfile/currfile.sty
References
Summary
In this tutorial we learn how to install texlive-currfile.noarch on Amazon Linux 2 using yum.