How To Install texlive-captdef on Fedora 36

In this tutorial we learn how to install texlive-captdef in Fedora 36. texlive-captdef is Declare free-standing \caption commands

Introduction

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

What is texlive-captdef

The \DeclareCaption command defines a class of caption command associated with the counter specified to the command. These commands are free-standing (i.e., don’t need to be inside a float environment). The package uses \DeclareCaption to define \figcaption and \tabcaption, which can be used outside figure or table environments.

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

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

sudo dnf -y install texlive-captdef

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

sudo yum -y install texlive-captdef

How To Uninstall texlive-captdef on Fedora 36

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

sudo dnf remove texlive-captdef

texlive-captdef Package Contents on Fedora 36

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

References

Summary

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