How To Install texlive-diagbox on Fedora 36

In this tutorial we learn how to install texlive-diagbox in Fedora 36. texlive-diagbox is Table heads with diagonal lines

Introduction

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

What is texlive-diagbox

The package’s principal command, \diagbox, takes two arguments (texts for the slash-separated parts of the box), and an optional argument with which the direction the slash will go, and the box dimensions, etc., may vbe controlled. The package also provides \slashbox and \backslashbox commands for compatibility with the slashbox package, which it supersedes.

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

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

sudo dnf -y install texlive-diagbox

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

sudo yum -y install texlive-diagbox

How To Uninstall texlive-diagbox on Fedora 36

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

sudo dnf remove texlive-diagbox

texlive-diagbox Package Contents on Fedora 36

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

References

Summary

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