How To Install texlive-latexmp on Fedora 36

In this tutorial we learn how to install texlive-latexmp in Fedora 36. texlive-latexmp is Interface for LaTeX-based typesetting in MetaPost

Introduction

In this tutorial we learn how to install texlive-latexmp on Fedora 36.

What is texlive-latexmp

The MetaPost package latexMP implements a user-friendly interface to access LaTeX-based typesetting capabilities in MetaPost. The text to be typeset is given as string. This allows even dynamic text elements, for example counters, to be used in labels. Compared to other implementations it is much more flexible, since it can be used as direct replacement for btex..etex, and much faster, compared for example to the solution provided by tex.mp

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

Install texlive-latexmp on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install texlive-latexmp

Install texlive-latexmp on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install texlive-latexmp

How To Uninstall texlive-latexmp on Fedora 36

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

sudo dnf remove texlive-latexmp

texlive-latexmp Package Contents on Fedora 36

/usr/share/licenses/texlive-latexmp
/usr/share/licenses/texlive-latexmp/pd.txt
/usr/share/texlive/texmf-dist/metapost/latexmp
/usr/share/texlive/texmf-dist/metapost/latexmp/latexmp.mp

References

Summary

In this tutorial we learn how to install texlive-latexmp on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).