How To Install texlive-pst-optexp on Fedora 36

In this tutorial we learn how to install texlive-pst-optexp in Fedora 36. texlive-pst-optexp is Drawing optical experimental setups

Introduction

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

What is texlive-pst-optexp

The package is a collection of optical components that facilitate easy sketching of optical experimental setups. The package uses PSTricks for its output. A wide range of free-ray and fibre components is provided, the alignment, positioning and labelling of which can be achieved in very simple and flexible ways. The components may be connected with fibers or beams, and realistic raytraced beam paths are also possible.

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

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

sudo dnf -y install texlive-pst-optexp

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

sudo yum -y install texlive-pst-optexp

How To Uninstall texlive-pst-optexp on Fedora 36

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

sudo dnf remove texlive-pst-optexp

texlive-pst-optexp Package Contents on Fedora 36

/usr/share/licenses/texlive-pst-optexp
/usr/share/licenses/texlive-pst-optexp/lppl1.3.txt
/usr/share/texlive/texmf-dist/dvips/pst-optexp
/usr/share/texlive/texmf-dist/dvips/pst-optexp/pst-optexp.pro
/usr/share/texlive/texmf-dist/makeindex/pst-optexp
/usr/share/texlive/texmf-dist/makeindex/pst-optexp/pst-optexp.ist
/usr/share/texlive/texmf-dist/tex/latex/pst-optexp
/usr/share/texlive/texmf-dist/tex/latex/pst-optexp/pst-optexp.sty

References

Summary

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