How To Install texlive-simpleoptics on Fedora 36

In this tutorial we learn how to install texlive-simpleoptics in Fedora 36. texlive-simpleoptics is Drawing lenses and mirrors for optical diagrams

Introduction

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

What is texlive-simpleoptics

This package provides some of macros for drawing simple lenses and mirrors for use in optical diagrams.

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

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

sudo dnf -y install texlive-simpleoptics

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

sudo yum -y install texlive-simpleoptics

How To Uninstall texlive-simpleoptics on Fedora 36

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

sudo dnf remove texlive-simpleoptics

texlive-simpleoptics Package Contents on Fedora 36

/usr/share/licenses/texlive-simpleoptics
/usr/share/licenses/texlive-simpleoptics/lppl1.3c.txt
/usr/share/texlive/texmf-dist/doc/latex/simpleoptics
/usr/share/texlive/texmf-dist/doc/latex/simpleoptics/README
/usr/share/texlive/texmf-dist/doc/latex/simpleoptics/simpleoptics.pdf
/usr/share/texlive/texmf-dist/doc/latex/simpleoptics/simpleoptics.tex
/usr/share/texlive/texmf-dist/tex/latex/simpleoptics
/usr/share/texlive/texmf-dist/tex/latex/simpleoptics/simpleoptics.sty

References

Summary

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