How To Install texlive-fragments on Fedora 36

In this tutorial we learn how to install texlive-fragments in Fedora 36. texlive-fragments is Fragments of LaTeX code

Introduction

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

What is texlive-fragments

A collection of fragments of LaTeX code, suitable for inclusion in packages, or (possibly) in users’ documents. Included are checklab, for modifying the label checking code at \end{document}; overrightarrow, defining a doubled over-arrow macro; removefr, for removing ‘reset’ relations between counters; and subscript, defining a \textsubscript command.

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

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

sudo dnf -y install texlive-fragments

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

sudo yum -y install texlive-fragments

How To Uninstall texlive-fragments on Fedora 36

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

sudo dnf remove texlive-fragments

texlive-fragments Package Contents on Fedora 36

/usr/share/licenses/texlive-fragments
/usr/share/licenses/texlive-fragments/collection.txt
/usr/share/texlive/texmf-dist/tex/latex/fragments
/usr/share/texlive/texmf-dist/tex/latex/fragments/checklab.tex
/usr/share/texlive/texmf-dist/tex/latex/fragments/overrightarrow.sty
/usr/share/texlive/texmf-dist/tex/latex/fragments/removefr.tex
/usr/share/texlive/texmf-dist/tex/latex/fragments/subscript.sty

References

Summary

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