How To Install texlive-shorttoc on Fedora 36

In this tutorial we learn how to install texlive-shorttoc in Fedora 36. texlive-shorttoc is Table of contents with different depths

Introduction

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

What is texlive-shorttoc

A package to create another table of contents with a different depth, useful in large documents where a detailed table of contents should be accompanied by a shorter one, giving only a general overview of the main topics in the document.

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

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

sudo dnf -y install texlive-shorttoc

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

sudo yum -y install texlive-shorttoc

How To Uninstall texlive-shorttoc on Fedora 36

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

sudo dnf remove texlive-shorttoc

texlive-shorttoc Package Contents on Fedora 36

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

References

Summary

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