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

In this tutorial we learn how to install texlive-subfigure.noarch in Amazon Linux 2. texlive-subfigure.noarch is Deprecated

Introduction

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

What is texlive-subfigure.noarch

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 is now obsolescent new users should use subfig instead. date

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

Install texlive-subfigure.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-subfigure.noarch using yum by running the following command:

sudo yum -y install texlive-subfigure.noarch

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

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

sudo yum remove texlive-subfigure.noarch

texlive-subfigure.noarch Package Contents on Amazon Linux 2

/usr/share/doc/texlive-subfigure-svn15878.2.1.5
/usr/share/doc/texlive-subfigure-svn15878.2.1.5/lppl1.txt
/usr/share/texlive/texmf-dist/tex/latex/subfigure/subfigure.cfg
/usr/share/texlive/texmf-dist/tex/latex/subfigure/subfigure.sty

References

Summary

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