How To Install graphviz-python3 on Fedora 36

In this tutorial we learn how to install graphviz-python3 in Fedora 36. graphviz-python3 is Python 3 extension for graphviz

Introduction

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

What is graphviz-python3

Python 3 extension for graphviz.

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

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

sudo dnf -y install graphviz-python3

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

sudo yum -y install graphviz-python3

How To Uninstall graphviz-python3 on Fedora 36

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

sudo dnf remove graphviz-python3

graphviz-python3 Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/4c
/usr/lib/.build-id/4c/719f304998b9ba69e5687643ac84de1004661e
/usr/lib64/python3.10/site-packages/__pycache__
/usr/lib64/python3.10/site-packages/__pycache__/gv.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/__pycache__/gv.cpython-310.pyc
/usr/lib64/python3.10/site-packages/_gv.so
/usr/lib64/python3.10/site-packages/gv.py
/usr/share/man/man3/gv.3python.gz

References

Summary

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