How To Install texlive-newverbs on Fedora 36

In this tutorial we learn how to install texlive-newverbs in Fedora 36. texlive-newverbs is Define new versions of \verb, including short verb versions

Introduction

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

What is texlive-newverbs

The package allows the definition of \verb variants which add TeX code before and after the verbatim text (e.g., quotes or surrounding \fbox{}). When used together with the shortvrb package it allows the definition of short verbatim characters which use this package’s variant instead of the normal \verb. In addition, it is possible to collect an argument verbatim to either typeset or write it into a file. The \Verbdef command defines verbatim text to a macro which can later be used to write the verbatim text to a file.

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

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

sudo dnf -y install texlive-newverbs

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

sudo yum -y install texlive-newverbs

How To Uninstall texlive-newverbs on Fedora 36

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

sudo dnf remove texlive-newverbs

texlive-newverbs Package Contents on Fedora 36

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

References

Summary

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