How To Install texlive-ydoc on Fedora 36

In this tutorial we learn how to install texlive-ydoc in Fedora 36. texlive-ydoc is Macros for documentation of LaTeX classes and packages

Introduction

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

What is texlive-ydoc

The package provides macros and environments to document LaTeX packages and classes. It is an (as yet unfinished) alternative to the ltxdoc class and the doc or xdoc packages. The aim is to provide a different layout and more modern styles (using the xcolor, hyperref packages, etc.) This is an alpha release, and should probably not (yet) be used with other packages, since the implementation might change. Nevertheless, the author uses it to document his own packages.

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

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

sudo dnf -y install texlive-ydoc

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

sudo yum -y install texlive-ydoc

How To Uninstall texlive-ydoc on Fedora 36

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

sudo dnf remove texlive-ydoc

texlive-ydoc Package Contents on Fedora 36

/usr/share/licenses/texlive-ydoc
/usr/share/licenses/texlive-ydoc/lppl1.3.txt
/usr/share/texlive/texmf-dist/tex/generic/ydoc
/usr/share/texlive/texmf-dist/tex/generic/ydoc/ydocincl.tex
/usr/share/texlive/texmf-dist/tex/generic/ydoc/ydocstrip.tex
/usr/share/texlive/texmf-dist/tex/latex/ydoc
/usr/share/texlive/texmf-dist/tex/latex/ydoc/ydoc-code.sty
/usr/share/texlive/texmf-dist/tex/latex/ydoc/ydoc-desc.sty
/usr/share/texlive/texmf-dist/tex/latex/ydoc/ydoc-doc.sty
/usr/share/texlive/texmf-dist/tex/latex/ydoc/ydoc-expl.sty
/usr/share/texlive/texmf-dist/tex/latex/ydoc/ydoc.cfg
/usr/share/texlive/texmf-dist/tex/latex/ydoc/ydoc.cls
/usr/share/texlive/texmf-dist/tex/latex/ydoc/ydoc.sty

References

Summary

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