How To Install texlive-latexpand on Fedora 36

In this tutorial we learn how to install texlive-latexpand in Fedora 36. texlive-latexpand is Expand \input and \include in a LaTeX document

Introduction

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

What is texlive-latexpand

Latexpand is a Perl script that simply replaces \input and \include commands with the content of the file input/included. The script does not deal with \includeonly commands.

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

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

sudo dnf -y install texlive-latexpand

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

sudo yum -y install texlive-latexpand

How To Uninstall texlive-latexpand on Fedora 36

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

sudo dnf remove texlive-latexpand

texlive-latexpand Package Contents on Fedora 36

/usr/bin/latexpand
/usr/share/licenses/texlive-latexpand
/usr/share/licenses/texlive-latexpand/bsd.txt
/usr/share/texlive/texmf-dist/doc/support/latexpand
/usr/share/texlive/texmf-dist/doc/support/latexpand/LICENCE
/usr/share/texlive/texmf-dist/doc/support/latexpand/README
/usr/share/texlive/texmf-dist/doc/support/latexpand/version.txt
/usr/share/texlive/texmf-dist/scripts/latexpand
/usr/share/texlive/texmf-dist/scripts/latexpand/latexpand

References

Summary

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