How To Install texlive-axodraw2 on Fedora 36

In this tutorial we learn how to install texlive-axodraw2 in Fedora 36. texlive-axodraw2 is Feynman diagrams in a LaTeX document

Introduction

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

What is texlive-axodraw2

This package defines macros for drawing Feynman graphs in LaTeX documents. It is an important update of the axodraw package, but since it is not completely backwards compatible, we have given the style file a changed name. Many new features have been added, with new types of line, and much more flexibility in their properties. In addition, it is now possible to use axodraw2 with pdfLaTeX, as well as with the LaTeX-dvips method. However with pdfLaTeX (and also LuaLaTeX and XeLaTeX), an external program, axohelp, is used to perform the geometrical calculations needed for the pdf code inserted in the output file. The processing involves a run of pdfLaTeX, a run of axohelp, and then another run of pdfLaTeX.

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

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

sudo dnf -y install texlive-axodraw2

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

sudo yum -y install texlive-axodraw2

How To Uninstall texlive-axodraw2 on Fedora 36

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

sudo dnf remove texlive-axodraw2

texlive-axodraw2 Package Contents on Fedora 36

/usr/bin/axohelp
/usr/lib/.build-id
/usr/lib/.build-id/a4
/usr/lib/.build-id/a4/aa3c409f70afe17611de2ef7fa6242d798a5f8
/usr/share/licenses/texlive-axodraw2
/usr/share/licenses/texlive-axodraw2/gpl3.txt
/usr/share/man/man1/axohelp.1.gz
/usr/share/texlive/texmf-dist/doc/latex/axodraw2
/usr/share/texlive/texmf-dist/doc/latex/axodraw2/AUTHORS
/usr/share/texlive/texmf-dist/doc/latex/axodraw2/COPYING
/usr/share/texlive/texmf-dist/doc/latex/axodraw2/ChangeLog
/usr/share/texlive/texmf-dist/doc/latex/axodraw2/INSTALL
/usr/share/texlive/texmf-dist/doc/latex/axodraw2/README
/usr/share/texlive/texmf-dist/doc/latex/axodraw2/axodraw2-man.pdf
/usr/share/texlive/texmf-dist/doc/latex/axodraw2/axodraw2-man.tex
/usr/share/texlive/texmf-dist/doc/latex/axodraw2/example.tex
/usr/share/texlive/texmf-dist/tex/latex/axodraw2
/usr/share/texlive/texmf-dist/tex/latex/axodraw2/axodraw2.sty

References

Summary

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