How To Install texlive-caption on Rocky Linux 8

In this tutorial we learn how to install texlive-caption on Rocky Linux 8. texlive-caption is Customising captions in floating environments

Introduction

In this tutorial we learn how to install texlive-caption on Rocky Linux 8.

What is texlive-caption

The caption package provides many ways to customise the captions in floating environments like figure and table, and cooperates with many other packages. Facilities include rotating captions, sideways captions, continued captions (for tables or figures that come in several parts). A list of compatibility notes, for other packages, is provided in the documentation. The package also provides the “caption outside float” facility, in the same way that simpler packages like capt-of do. The package supersedes caption2.

We can use yum or dnf to install texlive-caption on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install texlive-caption.

Install texlive-caption on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install texlive-caption using dnf by running the following command:

sudo dnf -y install texlive-caption

Install texlive-caption on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install texlive-caption using yum by running the following command:

sudo yum -y install texlive-caption

How To Uninstall texlive-caption on Rocky Linux 8

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

sudo dnf remove texlive-caption

texlive-caption Package Contents on Rocky Linux 8

/usr/share/licenses/texlive-caption
/usr/share/licenses/texlive-caption/lppl1.3.txt
/usr/share/texlive/texmf-dist/doc/latex/caption
/usr/share/texlive/texmf-dist/doc/latex/caption/CHANGELOG
/usr/share/texlive/texmf-dist/doc/latex/caption/README
/usr/share/texlive/texmf-dist/doc/latex/caption/SUMMARY
/usr/share/texlive/texmf-dist/doc/latex/caption/bicaption.pdf
/usr/share/texlive/texmf-dist/doc/latex/caption/caption-deu.pdf
/usr/share/texlive/texmf-dist/doc/latex/caption/caption-eng.pdf
/usr/share/texlive/texmf-dist/doc/latex/caption/caption-rus.pdf
/usr/share/texlive/texmf-dist/doc/latex/caption/ltcaption.pdf
/usr/share/texlive/texmf-dist/doc/latex/caption/newfloat.pdf
/usr/share/texlive/texmf-dist/doc/latex/caption/subcaption.pdf
/usr/share/texlive/texmf-dist/doc/latex/caption/totalcount.pdf
/usr/share/texlive/texmf-dist/tex/latex/caption
/usr/share/texlive/texmf-dist/tex/latex/caption/bicaption.sty
/usr/share/texlive/texmf-dist/tex/latex/caption/caption.sty
/usr/share/texlive/texmf-dist/tex/latex/caption/caption2.sty
/usr/share/texlive/texmf-dist/tex/latex/caption/caption3.sty
/usr/share/texlive/texmf-dist/tex/latex/caption/ltcaption.sty
/usr/share/texlive/texmf-dist/tex/latex/caption/newfloat.sty
/usr/share/texlive/texmf-dist/tex/latex/caption/subcaption.sty
/usr/share/texlive/texmf-dist/tex/latex/caption/totalcount.sty

References

Summary

In this tutorial we learn how to install texlive-caption on Rocky Linux 8 using yum and dnf.