How To Install python3-svg on Fedora 36

In this tutorial we learn how to install python3-svg in Fedora 36. python3-svg is Python wrapper for svg

Introduction

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

What is python3-svg

pySVG is a pure Python library to create/load and manipulate SVG documents. Its main use is to “code” svg images.

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

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

sudo dnf -y install python3-svg

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

sudo yum -y install python3-svg

How To Uninstall python3-svg on Fedora 36

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

sudo dnf remove python3-svg

python3-svg Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/pysvg
/usr/lib/python3.10/site-packages/pysvg/__init__.py
/usr/lib/python3.10/site-packages/pysvg/__pycache__
/usr/lib/python3.10/site-packages/pysvg/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pysvg/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/pysvg/__pycache__/animate.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pysvg/__pycache__/animate.cpython-310.pyc
/usr/lib/python3.10/site-packages/pysvg/__pycache__/attributes.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pysvg/__pycache__/attributes.cpython-310.pyc
/usr/lib/python3.10/site-packages/pysvg/__pycache__/builders.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pysvg/__pycache__/builders.cpython-310.pyc
/usr/lib/python3.10/site-packages/pysvg/__pycache__/core.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pysvg/__pycache__/core.cpython-310.pyc
/usr/lib/python3.10/site-packages/pysvg/__pycache__/filter.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pysvg/__pycache__/filter.cpython-310.pyc
/usr/lib/python3.10/site-packages/pysvg/__pycache__/gradient.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pysvg/__pycache__/gradient.cpython-310.pyc
/usr/lib/python3.10/site-packages/pysvg/__pycache__/linking.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pysvg/__pycache__/linking.cpython-310.pyc
/usr/lib/python3.10/site-packages/pysvg/__pycache__/parser.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pysvg/__pycache__/parser.cpython-310.pyc
/usr/lib/python3.10/site-packages/pysvg/__pycache__/script.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pysvg/__pycache__/script.cpython-310.pyc
/usr/lib/python3.10/site-packages/pysvg/__pycache__/shape.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pysvg/__pycache__/shape.cpython-310.pyc
/usr/lib/python3.10/site-packages/pysvg/__pycache__/structure.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pysvg/__pycache__/structure.cpython-310.pyc
/usr/lib/python3.10/site-packages/pysvg/__pycache__/style.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pysvg/__pycache__/style.cpython-310.pyc
/usr/lib/python3.10/site-packages/pysvg/__pycache__/text.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pysvg/__pycache__/text.cpython-310.pyc
/usr/lib/python3.10/site-packages/pysvg/__pycache__/turtle.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pysvg/__pycache__/turtle.cpython-310.pyc
/usr/lib/python3.10/site-packages/pysvg/__pycache__/util.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pysvg/__pycache__/util.cpython-310.pyc
/usr/lib/python3.10/site-packages/pysvg/animate.py
/usr/lib/python3.10/site-packages/pysvg/attributes.py
/usr/lib/python3.10/site-packages/pysvg/builders.py
/usr/lib/python3.10/site-packages/pysvg/core.py
/usr/lib/python3.10/site-packages/pysvg/filter.py
/usr/lib/python3.10/site-packages/pysvg/gradient.py
/usr/lib/python3.10/site-packages/pysvg/linking.py
/usr/lib/python3.10/site-packages/pysvg/parser.py
/usr/lib/python3.10/site-packages/pysvg/script.py
/usr/lib/python3.10/site-packages/pysvg/shape.py
/usr/lib/python3.10/site-packages/pysvg/structure.py
/usr/lib/python3.10/site-packages/pysvg/style.py
/usr/lib/python3.10/site-packages/pysvg/text.py
/usr/lib/python3.10/site-packages/pysvg/turtle.py
/usr/lib/python3.10/site-packages/pysvg/util.py
/usr/share/doc/python3-svg
/usr/share/doc/python3-svg/license.txt

References

Summary

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