How To Install texlive-pax on Fedora 36

In this tutorial we learn how to install texlive-pax in Fedora 36. texlive-pax is Extract and reinsert PDF annotations with pdfTeX

Introduction

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

What is texlive-pax

If PDF files are included using pdfTeX, PDF annotations are stripped. The pax project offers a solution without altering pdfTeX. A Java program (pax.jar) parses the PDF file that will later be included. The program then writes the data of the annotations into a file that can be read by TeX. The LaTeX package pax extends the graphics package to support the scheme if a PDF file is included, the package looks for the file with the annotation data, reads them and puts the annotations in the right place.

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

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

sudo dnf -y install texlive-pax

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

sudo yum -y install texlive-pax

How To Uninstall texlive-pax on Fedora 36

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

sudo dnf remove texlive-pax

texlive-pax Package Contents on Fedora 36

/usr/bin/pdfannotextractor
/usr/share/texlive/texmf-dist/doc/latex/pax
/usr/share/texlive/texmf-dist/doc/latex/pax/README
/usr/share/texlive/texmf-dist/scripts/pax
/usr/share/texlive/texmf-dist/scripts/pax/pax.jar
/usr/share/texlive/texmf-dist/scripts/pax/pdfannotextractor.pl
/usr/share/texlive/texmf-dist/tex/latex/pax
/usr/share/texlive/texmf-dist/tex/latex/pax/pax.sty

References

Summary

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