How To Install texlive-spverbatim on Fedora 36

In this tutorial we learn how to install texlive-spverbatim in Fedora 36. texlive-spverbatim is Allow line breaks within \verb and verbatim output

Introduction

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

What is texlive-spverbatim

LaTeX’s \verb macro treats its argument as an unbreakable unit of text. This can lead to poor typesetting, especially when the argument is long. The spverbatim package provides an \spverb macro that is analogous to \verb and an spverbatim environment that is analogous to verbatim with the difference being that \spverb and spverbatim allow LaTeX to break lines at space characters.

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

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

sudo dnf -y install texlive-spverbatim

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

sudo yum -y install texlive-spverbatim

How To Uninstall texlive-spverbatim on Fedora 36

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

sudo dnf remove texlive-spverbatim

texlive-spverbatim Package Contents on Fedora 36

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

References

Summary

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