How To Install texlive-minted on Fedora 36

In this tutorial we learn how to install texlive-minted in Fedora 36. texlive-minted is Highlighted source code for LaTeX

Introduction

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

What is texlive-minted

The package that facilitates expressive syntax highlighting in LaTeX using the powerful Pygments library. The package also provides options to customize the highlighted source code output using fancyvrb.

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

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

sudo dnf -y install texlive-minted

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

sudo yum -y install texlive-minted

How To Uninstall texlive-minted on Fedora 36

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

sudo dnf remove texlive-minted

texlive-minted Package Contents on Fedora 36

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

References

Summary

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