How To Install texlive-python on Fedora 36

In this tutorial we learn how to install texlive-python in Fedora 36. texlive-python is Embed Python code in LaTeX

Introduction

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

What is texlive-python

The package enables you to embed Python code in LaTeX, and insert the script’s output in the document.

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

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

sudo dnf -y install texlive-python

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

sudo yum -y install texlive-python

How To Uninstall texlive-python on Fedora 36

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

sudo dnf remove texlive-python

texlive-python Package Contents on Fedora 36

/usr/share/licenses/texlive-python
/usr/share/licenses/texlive-python/gpl.txt
/usr/share/texlive/texmf-dist/tex/latex/python
/usr/share/texlive/texmf-dist/tex/latex/python/python.sty

References

Summary

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