How To Install texlive-ragged2e on Fedora 36

In this tutorial we learn how to install texlive-ragged2e in Fedora 36. texlive-ragged2e is Alternative versions of “ragged”-type commands

Introduction

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

What is texlive-ragged2e

The package defines new commands \Centering, \RaggedLeft, and \RaggedRight and new environments Center, FlushLeft, and FlushRight, which set ragged text and are easily configurable to allow hyphenation (the corresponding commands in LaTeX, all of whose names are lower-case, prevent hyphenation altogether).

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

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

sudo dnf -y install texlive-ragged2e

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

sudo yum -y install texlive-ragged2e

How To Uninstall texlive-ragged2e on Fedora 36

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

sudo dnf remove texlive-ragged2e

texlive-ragged2e Package Contents on Fedora 36

/usr/share/licenses/texlive-ragged2e
/usr/share/licenses/texlive-ragged2e/lppl.txt
/usr/share/texlive/texmf-dist/doc/latex/ragged2e
/usr/share/texlive/texmf-dist/doc/latex/ragged2e/README.md
/usr/share/texlive/texmf-dist/doc/latex/ragged2e/ragged2e.pdf
/usr/share/texlive/texmf-dist/tex/latex/ragged2e
/usr/share/texlive/texmf-dist/tex/latex/ragged2e/ragged2e.sty

References

Summary

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