How To Install texlive-subfloat on Fedora 36

In this tutorial we learn how to install texlive-subfloat in Fedora 36. texlive-subfloat is Sub-numbering for figures and tables

Introduction

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

What is texlive-subfloat

This package enables sub-numbering of floats (figures and tables) similar to the subequations-environment of the amsmath package. The subfloat package is not to be confused with the subfig package which generates sub-figures within one normal figure, and manages their placement; subfloat only affects captions and numbering.

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

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

sudo dnf -y install texlive-subfloat

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

sudo yum -y install texlive-subfloat

How To Uninstall texlive-subfloat on Fedora 36

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

sudo dnf remove texlive-subfloat

texlive-subfloat Package Contents on Fedora 36

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

References

Summary

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