How To Install texlive-pgf-spectra on Fedora 36

In this tutorial we learn how to install texlive-pgf-spectra in Fedora 36. texlive-pgf-spectra is Draw continuous or discrete spectra using PGF/TikZ

Introduction

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

What is texlive-pgf-spectra

The purpose of this package is to draw the spectra of elements in a simple way. It is based on the package pst-spectra, supporting the same options, but also adding some new options. It relies on PGF/TikZ for drawing the desired spectrum, continuous or discrete. As in pst-spectra, there are data available for the spectra of 99 elements and their ions (from the NASA database). It also allows the user to draw spectra using their own data.

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

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

sudo dnf -y install texlive-pgf-spectra

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

sudo yum -y install texlive-pgf-spectra

How To Uninstall texlive-pgf-spectra on Fedora 36

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

sudo dnf remove texlive-pgf-spectra

texlive-pgf-spectra Package Contents on Fedora 36

/usr/share/licenses/texlive-pgf-spectra
/usr/share/licenses/texlive-pgf-spectra/lppl1.3.txt
/usr/share/texlive/texmf-dist/tex/latex/pgf-spectra
/usr/share/texlive/texmf-dist/tex/latex/pgf-spectra/pgf-spectra.sty
/usr/share/texlive/texmf-dist/tex/latex/pgf-spectra/spectra.data.LSE.tex
/usr/share/texlive/texmf-dist/tex/latex/pgf-spectra/spectra.data.NIST.tex

References

Summary

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