How To Install texlive-pst-spectra on Fedora 36

In this tutorial we learn how to install texlive-pst-spectra in Fedora 36. texlive-pst-spectra is Draw continuum, emission and absorption spectra with PSTricks

Introduction

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

What is texlive-pst-spectra

The package is a PSTricks extension, based on a NASA lines database. It allows you to draw continuum, emission and absorption spectra. A Total of 16 880 visible lines from 99 elements can be displayed. The package requires the xkeyval package for decoding its arguments.

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

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

sudo dnf -y install texlive-pst-spectra

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

sudo yum -y install texlive-pst-spectra

How To Uninstall texlive-pst-spectra on Fedora 36

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

sudo dnf remove texlive-pst-spectra

texlive-pst-spectra Package Contents on Fedora 36

/usr/share/licenses/texlive-pst-spectra
/usr/share/licenses/texlive-pst-spectra/lppl1.txt
/usr/share/texlive/texmf-dist/dvips/pst-spectra
/usr/share/texlive/texmf-dist/dvips/pst-spectra/pst-spectra.pro
/usr/share/texlive/texmf-dist/tex/generic/pst-spectra
/usr/share/texlive/texmf-dist/tex/generic/pst-spectra/pst-spectra.tex
/usr/share/texlive/texmf-dist/tex/latex/pst-spectra
/usr/share/texlive/texmf-dist/tex/latex/pst-spectra/pst-spectra.sty

References

Summary

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