How To Install python3-py-radix on Fedora 36

In this tutorial we learn how to install python3-py-radix in Fedora 36. python3-py-radix is Radix tree data structure for Python

Introduction

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

What is python3-py-radix

py-radix is an implementation of a radix tree for Python, which supports storage and lookups of IPv4 and IPv6 networks. The radix tree (a.k.a Patricia tree) is the data structure most commonly used for routing table lookups. It efficiently stores network prefixes of varying lengths and allows fast lookups of containing networks. py-radix’s implementation is built solely for networks (the data structure itself is more general).

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

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

sudo dnf -y install python3-py-radix

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

sudo yum -y install python3-py-radix

How To Uninstall python3-py-radix on Fedora 36

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

sudo dnf remove python3-py-radix

python3-py-radix Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/d8
/usr/lib/.build-id/d8/8ce660175953030cfcd15234b0862ef3ad8ee5
/usr/lib64/python3.10/site-packages/py_radix-0.9.3-py3.10.egg-info
/usr/lib64/python3.10/site-packages/py_radix-0.9.3-py3.10.egg-info/PKG-INFO
/usr/lib64/python3.10/site-packages/py_radix-0.9.3-py3.10.egg-info/SOURCES.txt
/usr/lib64/python3.10/site-packages/py_radix-0.9.3-py3.10.egg-info/dependency_links.txt
/usr/lib64/python3.10/site-packages/py_radix-0.9.3-py3.10.egg-info/top_level.txt
/usr/lib64/python3.10/site-packages/radix
/usr/lib64/python3.10/site-packages/radix/__init__.py
/usr/lib64/python3.10/site-packages/radix/__pycache__
/usr/lib64/python3.10/site-packages/radix/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/radix/__pycache__/__init__.cpython-310.pyc
/usr/lib64/python3.10/site-packages/radix/__pycache__/radix.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/radix/__pycache__/radix.cpython-310.pyc
/usr/lib64/python3.10/site-packages/radix/_radix.cpython-310-x86_64-linux-gnu.so
/usr/lib64/python3.10/site-packages/radix/radix.py
/usr/share/doc/python3-py-radix
/usr/share/doc/python3-py-radix/README.rst
/usr/share/licenses/python3-py-radix
/usr/share/licenses/python3-py-radix/LICENSE

References

Summary

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