How To Install texlive-emp on Fedora 36

In this tutorial we learn how to install texlive-emp in Fedora 36. texlive-emp is “Encapsulate” MetaPost figures in a document

Introduction

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

What is texlive-emp

Emp is a package for encapsulating MetaPost figures in LaTeX the package provides environments where you can place MetaPost commands, and means of using that code as fragments for building up figures to include in your document. So, with emp, the procedure is to run your document with LaTeX, run MetaPost, and then complete running your document in the normal way. Emp is therefore useful for keeping illustrations in synchrony with the text. It also frees you from inventing descriptive names for PostScript files that fit into the confines of file system conventions.

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

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

sudo dnf -y install texlive-emp

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

sudo yum -y install texlive-emp

How To Uninstall texlive-emp on Fedora 36

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

sudo dnf remove texlive-emp

texlive-emp Package Contents on Fedora 36

/usr/share/licenses/texlive-emp
/usr/share/licenses/texlive-emp/gpl.txt
/usr/share/texlive/texmf-dist/tex/latex/emp
/usr/share/texlive/texmf-dist/tex/latex/emp/emp.sty

References

Summary

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