How To Install texlive-codeanatomy on Fedora 36

In this tutorial we learn how to install texlive-codeanatomy in Fedora 36. texlive-codeanatomy is Typeset code with annotations

Introduction

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

What is texlive-codeanatomy

The idea of this Package is to typeset illustrations of pieces of code with annotations on each single part of code (Code Anatomy). The origin of this idea are code illustrations from the book “Computer Science Robert Sedgewick and Kevin Wayne. The package depends on expl3, xparse, and TikZ.

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

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

sudo dnf -y install texlive-codeanatomy

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

sudo yum -y install texlive-codeanatomy

How To Uninstall texlive-codeanatomy on Fedora 36

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

sudo dnf remove texlive-codeanatomy

texlive-codeanatomy Package Contents on Fedora 36

/usr/share/licenses/texlive-codeanatomy
/usr/share/licenses/texlive-codeanatomy/lppl.txt
/usr/share/texlive/texmf-dist/doc/latex/codeanatomy
/usr/share/texlive/texmf-dist/doc/latex/codeanatomy/README.md
/usr/share/texlive/texmf-dist/doc/latex/codeanatomy/codeanatomy.lstlisting.pdf
/usr/share/texlive/texmf-dist/doc/latex/codeanatomy/codeanatomy.lstlisting.tex
/usr/share/texlive/texmf-dist/doc/latex/codeanatomy/codeanatomy.pdf
/usr/share/texlive/texmf-dist/doc/latex/codeanatomy/codeanatomy.usage.pdf
/usr/share/texlive/texmf-dist/doc/latex/codeanatomy/codeanatomy.usage.tex
/usr/share/texlive/texmf-dist/doc/latex/codeanatomy/literatur.bib
/usr/share/texlive/texmf-dist/tex/latex/codeanatomy
/usr/share/texlive/texmf-dist/tex/latex/codeanatomy/codeanatomy.sty

References

Summary

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