How To Install texlive-caption on CentOS 7

In this tutorial we learn how to install texlive-caption on CentOS 7. texlive-caption is Customising captions in floating environments

Introduction

In this tutorial we learn how to install texlive-caption on CentOS 7.

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. date

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

Install texlive-caption on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install texlive-caption

Install texlive-caption on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install texlive-caption

How To Uninstall texlive-caption on CentOS 7

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

sudo dnf remove texlive-caption

References

Summary

In this tutorial we learn how to install texlive-caption on CentOS 7 using yum and dnf.