How To Install latexmk on CentOS 7
Introduction
In this tutorial we learn how to install latexmk
on CentOS 7.
What is latexmk
Latexmk is a perl script for running LaTeX the correct number of times to resolve cross references, etc.; it also runs auxiliary programs (bibtex, makeindex if necessary, and dvips and/or a previewer as requested). It has a number of other useful capabilities, for example to start a previewer and then run latex whenever the source files are updated, so that the previewer gives an up-to-date view of the document. The script runs on both UNIX and MS-WINDOWS (95, ME, XP, etc). This script is a corrected and improved version of the original version of latexmk. Before using a previewer, read the file README.fedora.
We can use yum
or dnf
to install latexmk
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install latexmk.
Install latexmk on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install latexmk
using yum
by running the following command:
Install latexmk 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 latexmk
using dnf
by running the following command:
How To Uninstall latexmk on CentOS 7
To uninstall only the latexmk
package we can use the following command:
References
Summary
In this tutorial we learn how to install latexmk
on CentOS 7 using yum
and dnf
.