How To Install texlive-dirtree on Fedora 36

In this tutorial we learn how to install texlive-dirtree in Fedora 36. texlive-dirtree is Display trees in the style of windows explorer

Introduction

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

What is texlive-dirtree

This package is designed to emulate the way windows explorer displays directory and file trees, with the root at top left, and each level of subtree displaying one step in to the right. The macros work equally well with Plain TeX and with LaTeX.

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

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

sudo dnf -y install texlive-dirtree

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

sudo yum -y install texlive-dirtree

How To Uninstall texlive-dirtree on Fedora 36

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

sudo dnf remove texlive-dirtree

texlive-dirtree Package Contents on Fedora 36

/usr/share/licenses/texlive-dirtree
/usr/share/licenses/texlive-dirtree/lppl1.txt
/usr/share/texlive/texmf-dist/tex/generic/dirtree
/usr/share/texlive/texmf-dist/tex/generic/dirtree/dirtree.sty
/usr/share/texlive/texmf-dist/tex/generic/dirtree/dirtree.tex

References

Summary

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