How To Install python3-pygraphviz on Rocky Linux 8
Introduction
In this tutorial we learn how to install python3-pygraphviz
on Rocky Linux 8.
What is python3-pygraphviz
PyGraphviz is a Python interface to the Graphviz graph layout and visualization package. With PyGraphviz you can create, edit, read, write, and draw graphs using Python to access the Graphviz graph data structure and layout algorithms. PyGraphviz is independent from NetworkX but provides a similar programming interface.
We can use yum
or dnf
to install python3-pygraphviz
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-pygraphviz.
Install python3-pygraphviz on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install python3-pygraphviz
using dnf
by running the following command:
sudo dnf -y install python3-pygraphviz
Install python3-pygraphviz on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install python3-pygraphviz
using yum
by running the following command:
sudo yum -y install python3-pygraphviz
How To Uninstall python3-pygraphviz on Rocky Linux 8
To uninstall only the python3-pygraphviz
package we can use the following command:
sudo dnf remove python3-pygraphviz
python3-pygraphviz Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/f5
/usr/lib/.build-id/f5/e3f27b58b4a9e22364c5bc540c6cf3c20d601f
/usr/lib64/python3.6/site-packages/pygraphviz
/usr/lib64/python3.6/site-packages/pygraphviz-1.6-py3.6.egg-info
/usr/lib64/python3.6/site-packages/pygraphviz-1.6-py3.6.egg-info/PKG-INFO
/usr/lib64/python3.6/site-packages/pygraphviz-1.6-py3.6.egg-info/SOURCES.txt
/usr/lib64/python3.6/site-packages/pygraphviz-1.6-py3.6.egg-info/dependency_links.txt
/usr/lib64/python3.6/site-packages/pygraphviz-1.6-py3.6.egg-info/top_level.txt
/usr/lib64/python3.6/site-packages/pygraphviz/__init__.py
/usr/lib64/python3.6/site-packages/pygraphviz/__pycache__
/usr/lib64/python3.6/site-packages/pygraphviz/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pygraphviz/__pycache__/__init__.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pygraphviz/__pycache__/agraph.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pygraphviz/__pycache__/agraph.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pygraphviz/__pycache__/graphviz.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pygraphviz/__pycache__/graphviz.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pygraphviz/__pycache__/release.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pygraphviz/__pycache__/release.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pygraphviz/__pycache__/version.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pygraphviz/__pycache__/version.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pygraphviz/_graphviz.cpython-36m-x86_64-linux-gnu.so
/usr/lib64/python3.6/site-packages/pygraphviz/agraph.py
/usr/lib64/python3.6/site-packages/pygraphviz/graphviz.i
/usr/lib64/python3.6/site-packages/pygraphviz/graphviz.py
/usr/lib64/python3.6/site-packages/pygraphviz/release.py
/usr/lib64/python3.6/site-packages/pygraphviz/tests
/usr/lib64/python3.6/site-packages/pygraphviz/tests/__init__.py
/usr/lib64/python3.6/site-packages/pygraphviz/tests/__pycache__
/usr/lib64/python3.6/site-packages/pygraphviz/tests/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pygraphviz/tests/__pycache__/__init__.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pygraphviz/tests/__pycache__/test.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pygraphviz/tests/__pycache__/test.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pygraphviz/tests/__pycache__/test_attribute_defaults.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pygraphviz/tests/__pycache__/test_attribute_defaults.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pygraphviz/tests/__pycache__/test_attributes.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pygraphviz/tests/__pycache__/test_attributes.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pygraphviz/tests/__pycache__/test_clear.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pygraphviz/tests/__pycache__/test_clear.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pygraphviz/tests/__pycache__/test_close.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pygraphviz/tests/__pycache__/test_close.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pygraphviz/tests/__pycache__/test_drawing.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pygraphviz/tests/__pycache__/test_drawing.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pygraphviz/tests/__pycache__/test_edge_attributes.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pygraphviz/tests/__pycache__/test_edge_attributes.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pygraphviz/tests/__pycache__/test_graph.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pygraphviz/tests/__pycache__/test_graph.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pygraphviz/tests/__pycache__/test_html.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pygraphviz/tests/__pycache__/test_html.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pygraphviz/tests/__pycache__/test_layout.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pygraphviz/tests/__pycache__/test_layout.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pygraphviz/tests/__pycache__/test_node_attributes.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pygraphviz/tests/__pycache__/test_node_attributes.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pygraphviz/tests/__pycache__/test_readwrite.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pygraphviz/tests/__pycache__/test_readwrite.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pygraphviz/tests/__pycache__/test_setup.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pygraphviz/tests/__pycache__/test_setup.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pygraphviz/tests/__pycache__/test_string.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pygraphviz/tests/__pycache__/test_string.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pygraphviz/tests/__pycache__/test_subgraph.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pygraphviz/tests/__pycache__/test_subgraph.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pygraphviz/tests/__pycache__/test_unicode.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pygraphviz/tests/__pycache__/test_unicode.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pygraphviz/tests/test.py
/usr/lib64/python3.6/site-packages/pygraphviz/tests/test_attribute_defaults.py
/usr/lib64/python3.6/site-packages/pygraphviz/tests/test_attributes.py
/usr/lib64/python3.6/site-packages/pygraphviz/tests/test_clear.py
/usr/lib64/python3.6/site-packages/pygraphviz/tests/test_close.py
/usr/lib64/python3.6/site-packages/pygraphviz/tests/test_drawing.py
/usr/lib64/python3.6/site-packages/pygraphviz/tests/test_edge_attributes.py
/usr/lib64/python3.6/site-packages/pygraphviz/tests/test_graph.py
/usr/lib64/python3.6/site-packages/pygraphviz/tests/test_html.py
/usr/lib64/python3.6/site-packages/pygraphviz/tests/test_layout.py
/usr/lib64/python3.6/site-packages/pygraphviz/tests/test_node_attributes.py
/usr/lib64/python3.6/site-packages/pygraphviz/tests/test_readwrite.py
/usr/lib64/python3.6/site-packages/pygraphviz/tests/test_setup.py
/usr/lib64/python3.6/site-packages/pygraphviz/tests/test_string.py
/usr/lib64/python3.6/site-packages/pygraphviz/tests/test_subgraph.py
/usr/lib64/python3.6/site-packages/pygraphviz/tests/test_unicode.py
/usr/lib64/python3.6/site-packages/pygraphviz/version.py
/usr/share/doc/python-pygraphviz
/usr/share/doc/python-pygraphviz/README.rst
/usr/share/licenses/python-pygraphviz
/usr/share/licenses/python-pygraphviz/LICENSE
References
Summary
In this tutorial we learn how to install python3-pygraphviz
on Rocky Linux 8 using yum and dnf.