How To Install latexmk on AlmaLinux 8

In this tutorial we learn how to install latexmk in AlmaLinux 8. latexmk is A make-like utility for LaTeX files

Introduction

In this tutorial we learn how to install latexmk on AlmaLinux 8.

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 AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install latexmk.

Install latexmk 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 latexmk using dnf by running the following command:

sudo dnf -y install latexmk

Install latexmk 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 latexmk using yum by running the following command:

sudo yum -y install latexmk

How To Uninstall latexmk on AlmaLinux 8

To uninstall only the latexmk package we can use the following command:

sudo dnf remove latexmk

References

Summary

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