How To Install texlive-pst-diffraction on Fedora 36

In this tutorial we learn how to install texlive-pst-diffraction in Fedora 36. texlive-pst-diffraction is Print diffraction patterns from various apertures

Introduction

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

What is texlive-pst-diffraction

The package enables the user to draw (using PSTricks) the diffraction patterns for different geometric forms of apertures for monochromatic light (using PSTricks). The aperture stops can have rectangular, circular or triangular openings. The view of the diffraction may be planar, or three-dimensional. Options available are the dimensions of the aperture under consideration and of the particular optical setting, e.g. the radius in case of an circular opening. Moreover one can choose the wavelength of the light (the associated color will be calculated by the package).

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

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

sudo dnf -y install texlive-pst-diffraction

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

sudo yum -y install texlive-pst-diffraction

How To Uninstall texlive-pst-diffraction on Fedora 36

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

sudo dnf remove texlive-pst-diffraction

texlive-pst-diffraction Package Contents on Fedora 36

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

References

Summary

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