How To Install texlive-perltex on Fedora 36

In this tutorial we learn how to install texlive-perltex in Fedora 36. texlive-perltex is Define LaTeX macros in terms of Perl code

Introduction

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

What is texlive-perltex

PerlTeX is a combination Perl script (perltex.pl) and LaTeX2e package (perltex.sty) that, together, give the user the ability to define LaTeX macros in terms of Perl code. Once defined, a Perl macro becomes indistinguishable from any other LaTeX macro. PerlTeX thereby combines LaTeX’s typesetting power with Perl’s programmability. PerlTeX will make use of persistent named pipes, and thereby run more efficiently, on operating systems that offer them (mostly Unix-like systems). Also provided is a switch to generate a PerlTeX-free, document- specific, noperltex.sty that is useful when distributing a document to places where PerlTeX is not available.

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

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

sudo dnf -y install texlive-perltex

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

sudo yum -y install texlive-perltex

How To Uninstall texlive-perltex on Fedora 36

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

sudo dnf remove texlive-perltex

texlive-perltex Package Contents on Fedora 36

/usr/bin/perltex
/usr/share/licenses/texlive-perltex
/usr/share/licenses/texlive-perltex/lppl1.txt
/usr/share/man/man1/perltex.1.gz
/usr/share/texlive/texmf-dist/doc/latex/perltex
/usr/share/texlive/texmf-dist/doc/latex/perltex/README
/usr/share/texlive/texmf-dist/doc/latex/perltex/example.tex
/usr/share/texlive/texmf-dist/doc/latex/perltex/perltex.pdf
/usr/share/texlive/texmf-dist/scripts/perltex
/usr/share/texlive/texmf-dist/scripts/perltex/perltex.pl
/usr/share/texlive/texmf-dist/tex/latex/perltex
/usr/share/texlive/texmf-dist/tex/latex/perltex/perltex.sty

References

Summary

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