How To Install texlive-algorithm2e on Fedora 36

In this tutorial we learn how to install texlive-algorithm2e in Fedora 36. texlive-algorithm2e is Floating algorithm environment with algorithmic keywords

Introduction

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

What is texlive-algorithm2e

Algorithm2e is an environment for writing algorithms. An algorithm becomes a floating object (like figure, table, etc.). The package provides macros that allow you to create different keywords, and a set of predefined key words is provided; you can change the typography of the keywords. The package allows vertical lines delimiting a block of instructions in an algorithm, and defines different sorts of algorithms such as Procedure or Function; the name of these functions may be reused in the text or in other algorithms.

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

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

sudo dnf -y install texlive-algorithm2e

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

sudo yum -y install texlive-algorithm2e

How To Uninstall texlive-algorithm2e on Fedora 36

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

sudo dnf remove texlive-algorithm2e

texlive-algorithm2e Package Contents on Fedora 36

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

References

Summary

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