How To Install texlive-pstool on Fedora 36

In this tutorial we learn how to install texlive-pstool in Fedora 36. texlive-pstool is Support for psfrag within pdfLaTeX

Introduction

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

What is texlive-pstool

The package works in the same sort of way as pst-pdf, but it also processes the PostScript graphics with psfrag to add labels within the graphic, before conversion. Thus the bundle replaces two steps of an ordinary workflow. (Naturally, the package requires that \write 18 is enabled.) Pstool ensures that each version of each graphic is compiled once only (the graphic is (re-)compiled only if it has changed since the previous compilation of the document). This drastically speeds up the running of the package in the typical case (though the first run of any document is inevitably just as slow as with any similar package).

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

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

sudo dnf -y install texlive-pstool

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

sudo yum -y install texlive-pstool

How To Uninstall texlive-pstool on Fedora 36

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

sudo dnf remove texlive-pstool

texlive-pstool Package Contents on Fedora 36

/usr/share/licenses/texlive-pstool
/usr/share/licenses/texlive-pstool/lppl1.txt
/usr/share/texlive/texmf-dist/tex/latex/pstool
/usr/share/texlive/texmf-dist/tex/latex/pstool/pstool.sty

References

Summary

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