How To Install texlive-modular on Fedora 36

In this tutorial we learn how to install texlive-modular in Fedora 36. texlive-modular is Relative section headings for modular documents

Introduction

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

What is texlive-modular

LaTeX sections have absolute depth, e.g. \section, \subsection, etc. When composing modular documents, we want relative depths. The coseoul package provides relative headings, but does not get things right when composing a document modularly from multiple parts. This package provides the missing piece. modular relies on coseoul, import, and ifthen.

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

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

sudo dnf -y install texlive-modular

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

sudo yum -y install texlive-modular

How To Uninstall texlive-modular on Fedora 36

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

sudo dnf remove texlive-modular

texlive-modular Package Contents on Fedora 36

/usr/share/licenses/texlive-modular
/usr/share/licenses/texlive-modular/lppl1.3.txt
/usr/share/texlive/texmf-dist/doc/latex/modular
/usr/share/texlive/texmf-dist/doc/latex/modular/README-doc.md
/usr/share/texlive/texmf-dist/doc/latex/modular/README.md
/usr/share/texlive/texmf-dist/doc/latex/modular/article.tex
/usr/share/texlive/texmf-dist/doc/latex/modular/article_fail.tex
/usr/share/texlive/texmf-dist/doc/latex/modular/content.tex
/usr/share/texlive/texmf-dist/doc/latex/modular/coseoul_limitations.tex
/usr/share/texlive/texmf-dist/doc/latex/modular/doc
/usr/share/texlive/texmf-dist/doc/latex/modular/doc/content.tex
/usr/share/texlive/texmf-dist/doc/latex/modular/doc/example
/usr/share/texlive/texmf-dist/doc/latex/modular/doc/example/octopus
/usr/share/texlive/texmf-dist/doc/latex/modular/doc/example/octopus/article.tex
/usr/share/texlive/texmf-dist/doc/latex/modular/habitat.tex
/usr/share/texlive/texmf-dist/doc/latex/modular/introduction.tex
/usr/share/texlive/texmf-dist/doc/latex/modular/lifecycle.tex
/usr/share/texlive/texmf-dist/doc/latex/modular/modular.pdf
/usr/share/texlive/texmf-dist/doc/latex/modular/modular.tex
/usr/share/texlive/texmf-dist/doc/latex/modular/modular_to_the_rescue.tex
/usr/share/texlive/texmf-dist/doc/latex/modular/prerequisites.tex
/usr/share/texlive/texmf-dist/tex/latex/modular
/usr/share/texlive/texmf-dist/tex/latex/modular/modular.sty

References

Summary

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