How To Install texlive-caption on AlmaLinux 8
Introduction
In this tutorial we learn how to install texlive-caption on AlmaLinux 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 AlmaLinux 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 AlmaLinux 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 AlmaLinux 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 AlmaLinux 8
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 AlmaLinux 8 using yum and dnf.