How To Install texlive-pst-optic on Fedora 36
Introduction
In this tutorial we learn how to install texlive-pst-optic
on Fedora 36.
What is texlive-pst-optic
A package for drawing both reflective and refractive optics diagrams. The package requires pstricks later than version 1.10.
We can use yum
or dnf
to install texlive-pst-optic
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install texlive-pst-optic.
Install texlive-pst-optic 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-optic
using dnf
by running the following command:
sudo dnf -y install texlive-pst-optic
Install texlive-pst-optic 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-optic
using yum
by running the following command:
sudo yum -y install texlive-pst-optic
How To Uninstall texlive-pst-optic on Fedora 36
To uninstall only the texlive-pst-optic
package we can use the following command:
sudo dnf remove texlive-pst-optic
texlive-pst-optic Package Contents on Fedora 36
/usr/share/licenses/texlive-pst-optic
/usr/share/licenses/texlive-pst-optic/lppl1.txt
/usr/share/texlive/texmf-dist/tex/generic/pst-optic
/usr/share/texlive/texmf-dist/tex/generic/pst-optic/pst-optic.tex
/usr/share/texlive/texmf-dist/tex/latex/pst-optic
/usr/share/texlive/texmf-dist/tex/latex/pst-optic/pst-optic.sty
References
Summary
In this tutorial we learn how to install texlive-pst-optic
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).