How To Install texlive-shdoc on Fedora 36

In this tutorial we learn how to install texlive-shdoc in Fedora 36. texlive-shdoc is Float environment to document the shell commands of a terminal session

Introduction

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

What is texlive-shdoc

The package provides a simple, though fancy float environment to document terminal sessions – like command executions or shell operations. The look and feel of the package output imitates the look of a shell prompt.

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

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

sudo dnf -y install texlive-shdoc

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

sudo yum -y install texlive-shdoc

How To Uninstall texlive-shdoc on Fedora 36

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

sudo dnf remove texlive-shdoc

texlive-shdoc Package Contents on Fedora 36

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

References

Summary

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