How To Install python3-pylatex on Fedora 36

In this tutorial we learn how to install python3-pylatex in Fedora 36. python3-pylatex is Library for creating LaTeX files and snippets

Introduction

In this tutorial we learn how to install python3-pylatex on Fedora 36.

What is python3-pylatex

PyLaTeX is a Python library for creating and compiling LaTeX files or snippets. The goal of this library is being an easy but extensible interface between Python and LaTeX.

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

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

sudo dnf -y install python3-pylatex

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

sudo yum -y install python3-pylatex

How To Uninstall python3-pylatex on Fedora 36

To uninstall only the python3-pylatex package we can use the following command:

sudo dnf remove python3-pylatex

python3-pylatex Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/PyLaTeX-1.4.1-py3.10.egg-info
/usr/lib/python3.10/site-packages/PyLaTeX-1.4.1-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/PyLaTeX-1.4.1-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/PyLaTeX-1.4.1-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/PyLaTeX-1.4.1-py3.10.egg-info/requires.txt
/usr/lib/python3.10/site-packages/PyLaTeX-1.4.1-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/pylatex
/usr/lib/python3.10/site-packages/pylatex/__init__.py
/usr/lib/python3.10/site-packages/pylatex/__pycache__
/usr/lib/python3.10/site-packages/pylatex/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pylatex/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/pylatex/__pycache__/_version.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pylatex/__pycache__/_version.cpython-310.pyc
/usr/lib/python3.10/site-packages/pylatex/__pycache__/basic.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pylatex/__pycache__/basic.cpython-310.pyc
/usr/lib/python3.10/site-packages/pylatex/__pycache__/config.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pylatex/__pycache__/config.cpython-310.pyc
/usr/lib/python3.10/site-packages/pylatex/__pycache__/document.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pylatex/__pycache__/document.cpython-310.pyc
/usr/lib/python3.10/site-packages/pylatex/__pycache__/errors.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pylatex/__pycache__/errors.cpython-310.pyc
/usr/lib/python3.10/site-packages/pylatex/__pycache__/figure.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pylatex/__pycache__/figure.cpython-310.pyc
/usr/lib/python3.10/site-packages/pylatex/__pycache__/frames.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pylatex/__pycache__/frames.cpython-310.pyc
/usr/lib/python3.10/site-packages/pylatex/__pycache__/headfoot.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pylatex/__pycache__/headfoot.cpython-310.pyc
/usr/lib/python3.10/site-packages/pylatex/__pycache__/labelref.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pylatex/__pycache__/labelref.cpython-310.pyc
/usr/lib/python3.10/site-packages/pylatex/__pycache__/lists.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pylatex/__pycache__/lists.cpython-310.pyc
/usr/lib/python3.10/site-packages/pylatex/__pycache__/math.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pylatex/__pycache__/math.cpython-310.pyc
/usr/lib/python3.10/site-packages/pylatex/__pycache__/package.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pylatex/__pycache__/package.cpython-310.pyc
/usr/lib/python3.10/site-packages/pylatex/__pycache__/position.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pylatex/__pycache__/position.cpython-310.pyc
/usr/lib/python3.10/site-packages/pylatex/__pycache__/quantities.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pylatex/__pycache__/quantities.cpython-310.pyc
/usr/lib/python3.10/site-packages/pylatex/__pycache__/section.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pylatex/__pycache__/section.cpython-310.pyc
/usr/lib/python3.10/site-packages/pylatex/__pycache__/table.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pylatex/__pycache__/table.cpython-310.pyc
/usr/lib/python3.10/site-packages/pylatex/__pycache__/tikz.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pylatex/__pycache__/tikz.cpython-310.pyc
/usr/lib/python3.10/site-packages/pylatex/__pycache__/utils.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pylatex/__pycache__/utils.cpython-310.pyc
/usr/lib/python3.10/site-packages/pylatex/_version.py
/usr/lib/python3.10/site-packages/pylatex/base_classes
/usr/lib/python3.10/site-packages/pylatex/base_classes/__init__.py
/usr/lib/python3.10/site-packages/pylatex/base_classes/__pycache__
/usr/lib/python3.10/site-packages/pylatex/base_classes/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pylatex/base_classes/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/pylatex/base_classes/__pycache__/command.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pylatex/base_classes/__pycache__/command.cpython-310.pyc
/usr/lib/python3.10/site-packages/pylatex/base_classes/__pycache__/containers.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pylatex/base_classes/__pycache__/containers.cpython-310.pyc
/usr/lib/python3.10/site-packages/pylatex/base_classes/__pycache__/float.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pylatex/base_classes/__pycache__/float.cpython-310.pyc
/usr/lib/python3.10/site-packages/pylatex/base_classes/__pycache__/latex_object.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pylatex/base_classes/__pycache__/latex_object.cpython-310.pyc
/usr/lib/python3.10/site-packages/pylatex/base_classes/command.py
/usr/lib/python3.10/site-packages/pylatex/base_classes/containers.py
/usr/lib/python3.10/site-packages/pylatex/base_classes/float.py
/usr/lib/python3.10/site-packages/pylatex/base_classes/latex_object.py
/usr/lib/python3.10/site-packages/pylatex/basic.py
/usr/lib/python3.10/site-packages/pylatex/config.py
/usr/lib/python3.10/site-packages/pylatex/document.py
/usr/lib/python3.10/site-packages/pylatex/errors.py
/usr/lib/python3.10/site-packages/pylatex/figure.py
/usr/lib/python3.10/site-packages/pylatex/frames.py
/usr/lib/python3.10/site-packages/pylatex/headfoot.py
/usr/lib/python3.10/site-packages/pylatex/labelref.py
/usr/lib/python3.10/site-packages/pylatex/lists.py
/usr/lib/python3.10/site-packages/pylatex/math.py
/usr/lib/python3.10/site-packages/pylatex/package.py
/usr/lib/python3.10/site-packages/pylatex/position.py
/usr/lib/python3.10/site-packages/pylatex/quantities.py
/usr/lib/python3.10/site-packages/pylatex/section.py
/usr/lib/python3.10/site-packages/pylatex/table.py
/usr/lib/python3.10/site-packages/pylatex/tikz.py
/usr/lib/python3.10/site-packages/pylatex/utils.py
/usr/share/doc/python3-pylatex
/usr/share/doc/python3-pylatex/README.rst
/usr/share/licenses/python3-pylatex
/usr/share/licenses/python3-pylatex/LICENSE

References

Summary

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