How To Install texlive-pst-magneticfield on Fedora 36

In this tutorial we learn how to install texlive-pst-magneticfield in Fedora 36. texlive-pst-magneticfield is Plotting a magnetic field with PSTricks

Introduction

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

What is texlive-pst-magneticfield

pst-magneticfield is a PSTricks related package to draw the magnetic field lines of Helmholtz coils in a two or three dimensional view. There are several parameters to create a different output. For more informations or some examples read the documentation of the package.

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

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

sudo dnf -y install texlive-pst-magneticfield

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

sudo yum -y install texlive-pst-magneticfield

How To Uninstall texlive-pst-magneticfield on Fedora 36

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

sudo dnf remove texlive-pst-magneticfield

texlive-pst-magneticfield Package Contents on Fedora 36

/usr/share/licenses/texlive-pst-magneticfield
/usr/share/licenses/texlive-pst-magneticfield/lppl1.txt
/usr/share/texlive/texmf-dist/dvips/pst-magneticfield
/usr/share/texlive/texmf-dist/dvips/pst-magneticfield/pst-magneticfield.pro
/usr/share/texlive/texmf-dist/tex/generic/pst-magneticfield
/usr/share/texlive/texmf-dist/tex/generic/pst-magneticfield/pst-magneticfield.tex
/usr/share/texlive/texmf-dist/tex/latex/pst-magneticfield
/usr/share/texlive/texmf-dist/tex/latex/pst-magneticfield/pst-magneticfield.sty

References

Summary

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