How To Install texlive-feynmf on Fedora 36

In this tutorial we learn how to install texlive-feynmf in Fedora 36. texlive-feynmf is Macros and fonts for creating Feynman (and other) diagrams

Introduction

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

What is texlive-feynmf

The feynmf package provides an interface to Metafont (inspired by the facilities of mfpic) to use simple structure specifications to produce relatively complex diagrams. (The feynmp package, also part of this bundle, uses MetaPost in the same way.) While the package was designed for Feynman diagrams, it could in principle be used for diagrams in graph and similar theories, where the structure is semi-algorithmically determined.

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

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

sudo dnf -y install texlive-feynmf

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

sudo yum -y install texlive-feynmf

How To Uninstall texlive-feynmf on Fedora 36

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

sudo dnf remove texlive-feynmf

texlive-feynmf Package Contents on Fedora 36

/usr/share/licenses/texlive-feynmf
/usr/share/licenses/texlive-feynmf/gpl.txt
/usr/share/texlive/texmf-dist/metafont/feynmf
/usr/share/texlive/texmf-dist/metafont/feynmf/feynmf.mf
/usr/share/texlive/texmf-dist/metapost/feynmf
/usr/share/texlive/texmf-dist/metapost/feynmf/feynmp.mp
/usr/share/texlive/texmf-dist/metapost/feynmf/manpics.mp
/usr/share/texlive/texmf-dist/tex/latex/feynmf
/usr/share/texlive/texmf-dist/tex/latex/feynmf/feynmf.sty
/usr/share/texlive/texmf-dist/tex/latex/feynmf/feynmp.sty

References

Summary

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