How To Install texlive-photo on Fedora 36

In this tutorial we learn how to install texlive-photo in Fedora 36. texlive-photo is A float environment for photographs

Introduction

In this tutorial we learn how to install texlive-photo on Fedora 36.

What is texlive-photo

This package introduces a new float type called photo which works similar to the float types table and figure. Various options exist for placing photos, captions, and a “photographer” line. In twocolumn documents, a possibility exists to generate double-column floats automatically if the photo does not fit into one column. Photos do not have to be placed as floats, they can also be placed as boxes, with captions and photographer line still being available.

We can use yum or dnf to install texlive-photo on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install texlive-photo.

Install texlive-photo 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-photo using dnf by running the following command:

sudo dnf -y install texlive-photo

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

sudo yum -y install texlive-photo

How To Uninstall texlive-photo on Fedora 36

To uninstall only the texlive-photo package we can use the following command:

sudo dnf remove texlive-photo

texlive-photo Package Contents on Fedora 36

/usr/share/licenses/texlive-photo
/usr/share/licenses/texlive-photo/lppl1.txt
/usr/share/texlive/texmf-dist/tex/latex/photo
/usr/share/texlive/texmf-dist/tex/latex/photo/photo.sty

References

Summary

In this tutorial we learn how to install texlive-photo on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).