How To Install texlive-highlightlatex on Fedora 36

In this tutorial we learn how to install texlive-highlightlatex in Fedora 36. texlive-highlightlatex is Syntax highlighting for LaTeX

Introduction

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

What is texlive-highlightlatex

This package provides extensive colored syntax highlighting for LaTeX. For this purpose it builds on the generic listings package.

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

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

sudo dnf -y install texlive-highlightlatex

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

sudo yum -y install texlive-highlightlatex

How To Uninstall texlive-highlightlatex on Fedora 36

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

sudo dnf remove texlive-highlightlatex

texlive-highlightlatex Package Contents on Fedora 36

/usr/share/texlive/texmf-dist/doc/latex/highlightlatex
/usr/share/texlive/texmf-dist/doc/latex/highlightlatex/LICENSE.txt
/usr/share/texlive/texmf-dist/doc/latex/highlightlatex/README.md
/usr/share/texlive/texmf-dist/doc/latex/highlightlatex/highlightlatex-manual.pdf
/usr/share/texlive/texmf-dist/tex/latex/highlightlatex
/usr/share/texlive/texmf-dist/tex/latex/highlightlatex/highlightlatex.sty

References

Summary

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