How To Install texlive-alg on Fedora 36

In this tutorial we learn how to install texlive-alg in Fedora 36. texlive-alg is LaTeX environments for typesetting algorithms

Introduction

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

What is texlive-alg

Defines two environments for typesetting algorithms in LaTeX2e. The algtab environment is used to typeset an algorithm with automatically numbered lines. The algorithm environment can be used to encapsulate the algtab environment algorithm in a floating body together with a header, a caption, etc. \listofalgorithms is defined.

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

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

sudo dnf -y install texlive-alg

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

sudo yum -y install texlive-alg

How To Uninstall texlive-alg on Fedora 36

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

sudo dnf remove texlive-alg

texlive-alg Package Contents on Fedora 36

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

References

Summary

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