How To Install texlive-subfig on Fedora 36
Introduction
In this tutorial we learn how to install texlive-subfig
on Fedora 36.
What is texlive-subfig
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 is no longer maintained). The name was changed since the package is completely backward compatible with the older package 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, the distribution it includes a configuration file (subfig.cfg) which nearly emulates the subfigure package. The functionality of the package is provided by the (more recent still) subcaption package.
We can use yum
or dnf
to install texlive-subfig
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install texlive-subfig.
Install texlive-subfig on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install texlive-subfig
using dnf
by running the following command:
sudo dnf -y install texlive-subfig
Install texlive-subfig on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install texlive-subfig
using yum
by running the following command:
sudo yum -y install texlive-subfig
How To Uninstall texlive-subfig on Fedora 36
To uninstall only the texlive-subfig
package we can use the following command:
sudo dnf remove texlive-subfig
texlive-subfig Package Contents on Fedora 36
/usr/share/licenses/texlive-subfig
/usr/share/licenses/texlive-subfig/lppl1.txt
/usr/share/texlive/texmf-dist/tex/latex/subfig
/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
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).