How To Install texlive-pst2pdf on Fedora 36

In this tutorial we learn how to install texlive-pst2pdf in Fedora 36. texlive-pst2pdf is A script to compile pstricks documents via pdftex

Introduction

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

What is texlive-pst2pdf

The script extracts the preamble of the document and runs all \begin{postscript}…\end{postscript} \begin{pspicture}…\end{pspicture} and \pspicture…\endpspicture separately through LaTeX with the same preamble as the original document; thus it creates EPS, PNG and PDF files of these snippets. In a final PDFLaTeX run the script replaces the environments with \includegraphics to include the processed snippets.

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

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

sudo dnf -y install texlive-pst2pdf

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

sudo yum -y install texlive-pst2pdf

How To Uninstall texlive-pst2pdf on Fedora 36

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

sudo dnf remove texlive-pst2pdf

texlive-pst2pdf Package Contents on Fedora 36

/usr/bin/pst2pdf
/usr/share/licenses/texlive-pst2pdf
/usr/share/licenses/texlive-pst2pdf/gpl2.txt
/usr/share/texlive/texmf-dist/doc/support/pst2pdf
/usr/share/texlive/texmf-dist/doc/support/pst2pdf/Changes
/usr/share/texlive/texmf-dist/doc/support/pst2pdf/Makefile.doc
/usr/share/texlive/texmf-dist/doc/support/pst2pdf/README.md
/usr/share/texlive/texmf-dist/doc/support/pst2pdf/pst2pdf-doc.bib
/usr/share/texlive/texmf-dist/doc/support/pst2pdf/pst2pdf-doc.pdf
/usr/share/texlive/texmf-dist/doc/support/pst2pdf/pst2pdf-doc.tex
/usr/share/texlive/texmf-dist/doc/support/pst2pdf/test1-pdf.pdf
/usr/share/texlive/texmf-dist/doc/support/pst2pdf/test1.tex
/usr/share/texlive/texmf-dist/doc/support/pst2pdf/test2-pdf.pdf
/usr/share/texlive/texmf-dist/doc/support/pst2pdf/test2.tex
/usr/share/texlive/texmf-dist/doc/support/pst2pdf/test3-pdf.pdf
/usr/share/texlive/texmf-dist/doc/support/pst2pdf/test3.tex
/usr/share/texlive/texmf-dist/doc/support/pst2pdf/tux.jpg
/usr/share/texlive/texmf-dist/scripts/pst2pdf
/usr/share/texlive/texmf-dist/scripts/pst2pdf/pst2pdf.pl

References

Summary

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