How To Install texlive-psfragx on Fedora 36

In this tutorial we learn how to install texlive-psfragx in Fedora 36. texlive-psfragx is A psfrag eXtension

Introduction

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

What is texlive-psfragx

PSfragX offers a mechanism to embed \psfrag commands, as provided by the psfrag package, into the EPS file itself. Each time a graphic is included, the EPS file is scanned. If some tagged lines are found, they are used to define the psfrag replacements that should be performed automatically. In addition, a similar mechanism holds for overpic objects. These are picture objects superimposed on the included graphic. A similar mechanism is implemented in psfrag itself (but deprecated in the documentation), but psfragx offers much more flexibility. For example, if babel is used, it is possible to define different replacements corresponding to different languages. The replacements to take into account will be selected on the basis of the current language of the document. A Matlab script (LaPrint) is provided, to export an EPS file with psfragx annotations ready embedded.

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

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

sudo dnf -y install texlive-psfragx

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

sudo yum -y install texlive-psfragx

How To Uninstall texlive-psfragx on Fedora 36

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

sudo dnf remove texlive-psfragx

texlive-psfragx Package Contents on Fedora 36

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

References

Summary

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