How To Install texlive-subfig.noarch on Amazon Linux 2

In this tutorial we learn how to install texlive-subfig.noarch in Amazon Linux 2. texlive-subfig.noarch is Figures broken into subfigures

Introduction

In this tutorial we learn how to install texlive-subfig.noarch on Amazon Linux 2.

What is texlive-subfig.noarch

The package provides support for the manipulation and reference of small or ‘sub’ figures and tables within a single figure or table environment. It is convenient to use this package when your subfigures are to be separately captioned, referenced, or are to be included in the List-of-Figures. A new \subfigure command is introduced which can be used inside a figure environment for each subfigure. An optional first argument is used as the caption for that subfigure. This package supersedes the subfigure package (which will continue to be supported, but no longer maintained). The name has changed because the subfig package is not completely backward compatible with the older subfigure package due to an extensive rewrite to use the new caption package to produce its subcaptions. The major advantage to the new package is that the user interface is keyword/value driven and easier to use. To ease the transition from the subfigure package it includes a configuration file (subfig.cfg) which nearly emulates the subfigure package. date

We can use yum to install texlive-subfig.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install texlive-subfig.noarch.

Install texlive-subfig.noarch on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install texlive-subfig.noarch

How To Uninstall texlive-subfig.noarch on Amazon Linux 2

To uninstall only the texlive-subfig.noarch package we can use the following command:

sudo yum remove texlive-subfig.noarch

texlive-subfig.noarch Package Contents on Amazon Linux 2

/usr/share/doc/texlive-subfig-svn15878.1.3
/usr/share/doc/texlive-subfig-svn15878.1.3/lppl1.txt
/usr/share/texlive/texmf-dist/tex/latex/subfig/altsf.cfg
/usr/share/texlive/texmf-dist/tex/latex/subfig/subfig.sty

References

Summary

In this tutorial we learn how to install texlive-subfig.noarch on Amazon Linux 2 using yum.