How To Install texlive-xsavebox on Fedora 36

In this tutorial we learn how to install texlive-xsavebox in Fedora 36. texlive-xsavebox is Saveboxes for repeating content without code replication, based on PDF Form XObjects

Introduction

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

What is texlive-xsavebox

The package defines commands for saving content that can be repeatedly placed into the document without replicating DVI/PDF code in the output file, allowing for smaller file size of the final PDF and improved content caching for faster display in certain PDF viewers. The method makes use of `Form XObjects’ defined in the PDF specification. The user commands are modelled after the standard LaTeX commands \savebox, \sbox, \usebox and the lrbox environment. All common TeX engines and back-ends are supported ps2pdf/Distiller (Xe)LaTeX –> (x)dvipdfmx

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

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

sudo dnf -y install texlive-xsavebox

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

sudo yum -y install texlive-xsavebox

How To Uninstall texlive-xsavebox on Fedora 36

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

sudo dnf remove texlive-xsavebox

texlive-xsavebox Package Contents on Fedora 36

/usr/share/licenses/texlive-xsavebox
/usr/share/licenses/texlive-xsavebox/lppl1.3.txt
/usr/share/texlive/texmf-dist/tex/latex/xsavebox
/usr/share/texlive/texmf-dist/tex/latex/xsavebox/xsavebox.sty

References

Summary

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