How To Install texlive-tikz-optics on Fedora 36
Introduction
In this tutorial we learn how to install texlive-tikz-optics
on Fedora 36.
What is texlive-tikz-optics
This package provides a new TikZ library designed to easily draw optical setups with TikZ. It provides shapes for lens, mirror, etc. The geometrically (in)correct computation of light rays through the setup is left to the user.
We can use yum
or dnf
to install texlive-tikz-optics
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install texlive-tikz-optics.
Install texlive-tikz-optics 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-tikz-optics
using dnf
by running the following command:
sudo dnf -y install texlive-tikz-optics
Install texlive-tikz-optics 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-tikz-optics
using yum
by running the following command:
sudo yum -y install texlive-tikz-optics
How To Uninstall texlive-tikz-optics on Fedora 36
To uninstall only the texlive-tikz-optics
package we can use the following command:
sudo dnf remove texlive-tikz-optics
texlive-tikz-optics Package Contents on Fedora 36
/usr/share/licenses/texlive-tikz-optics
/usr/share/licenses/texlive-tikz-optics/lppl1.3.txt
/usr/share/texlive/texmf-dist/doc/latex/tikz-optics
/usr/share/texlive/texmf-dist/doc/latex/tikz-optics/README
/usr/share/texlive/texmf-dist/doc/latex/tikz-optics/tikz-optics.pdf
/usr/share/texlive/texmf-dist/doc/latex/tikz-optics/tikz-optics.tex
/usr/share/texlive/texmf-dist/tex/latex/tikz-optics
/usr/share/texlive/texmf-dist/tex/latex/tikz-optics/tikzlibraryoptics.code.tex
References
Summary
In this tutorial we learn how to install texlive-tikz-optics
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).