How To Install texlive-hardwrap on Fedora 36

In this tutorial we learn how to install texlive-hardwrap in Fedora 36. texlive-hardwrap is Hard wrap text to a certain character length

Introduction

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

What is texlive-hardwrap

The package facilitates wrapping text to a specific character width, breaking lines by words rather than, as done by TeX, by characters. The primary use for these facilities is to aid the generation of messages sent to the log file or console output to display messages to the user. Package authors may also find this useful when writing out arbitary text to an external file.

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

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

sudo dnf -y install texlive-hardwrap

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

sudo yum -y install texlive-hardwrap

How To Uninstall texlive-hardwrap on Fedora 36

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

sudo dnf remove texlive-hardwrap

texlive-hardwrap Package Contents on Fedora 36

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

References

Summary

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