How To Install texlive-caption on CentOS 8
Introduction
In this tutorial we learn how to install texlive-caption
on CentOS 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 CentOS 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 CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
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 CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
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 CentOS 8
To uninstall only the texlive-caption
package we can use the following command:
sudo dnf remove texlive-caption
texlive-caption Package Contents on CentOS 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 CentOS 8 using yum and dnf.