How To Install texlive-pythonhighlight on Fedora 36

In this tutorial we learn how to install texlive-pythonhighlight in Fedora 36. texlive-pythonhighlight is Highlighting of Python code, based on the listings package

Introduction

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

What is texlive-pythonhighlight

Highlighting of Python code, based on the listings package.

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

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

sudo dnf -y install texlive-pythonhighlight

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

sudo yum -y install texlive-pythonhighlight

How To Uninstall texlive-pythonhighlight on Fedora 36

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

sudo dnf remove texlive-pythonhighlight

texlive-pythonhighlight Package Contents on Fedora 36

/usr/share/licenses/texlive-pythonhighlight
/usr/share/licenses/texlive-pythonhighlight/bsd.txt
/usr/share/texlive/texmf-dist/doc/latex/pythonhighlight
/usr/share/texlive/texmf-dist/doc/latex/pythonhighlight/LICENSE.rst
/usr/share/texlive/texmf-dist/doc/latex/pythonhighlight/README.md
/usr/share/texlive/texmf-dist/tex/latex/pythonhighlight
/usr/share/texlive/texmf-dist/tex/latex/pythonhighlight/pythonhighlight.sty

References

Summary

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