How To Install texlive-pdftricks on Fedora 36

In this tutorial we learn how to install texlive-pdftricks in Fedora 36. texlive-pdftricks is Support for pstricks in pdfTeX

Introduction

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

What is texlive-pdftricks

The PSTricks macros cannot be used (directly) with pdfTeX, since pstricks uses PostScript arithmetic, which isn’t part of PDF. This package circumvents this limitation so that the extensive facilities offered by the powerful PSTricks package can be made use of in a pdfTeX document. This is done using the shell escape function available in current TeX implementations. The package may also be used in support of other ‘PostScript- output-only’ packages, such as PSfrag. For alternatives, users may care to review the discussion in the PSTricks online documentation.

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

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

sudo dnf -y install texlive-pdftricks

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

sudo yum -y install texlive-pdftricks

How To Uninstall texlive-pdftricks on Fedora 36

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

sudo dnf remove texlive-pdftricks

texlive-pdftricks Package Contents on Fedora 36

/usr/share/licenses/texlive-pdftricks
/usr/share/licenses/texlive-pdftricks/gpl.txt
/usr/share/texlive/texmf-dist/tex/latex/pdftricks
/usr/share/texlive/texmf-dist/tex/latex/pdftricks/pdftricks.sty

References

Summary

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