How To Install texlive-centeredline on Fedora 36

In this tutorial we learn how to install texlive-centeredline in Fedora 36. texlive-centeredline is A macro for centering lines

Introduction

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

What is texlive-centeredline

This package provides a macro \centeredline{…} which allows to conveniently center a line inside a paragraph while allowing usage therein of \verb or other macros changing catcodes. It works nicely in list environments, and material whose natural width exceeds the current linewidth will get properly centered too.

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

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

sudo dnf -y install texlive-centeredline

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

sudo yum -y install texlive-centeredline

How To Uninstall texlive-centeredline on Fedora 36

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

sudo dnf remove texlive-centeredline

texlive-centeredline Package Contents on Fedora 36

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

References

Summary

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