How To Install python3-pykdtree on Fedora 36

In this tutorial we learn how to install python3-pykdtree in Fedora 36. python3-pykdtree is Fast kd-tree implementation with OpenMP-enabled queries

Introduction

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

What is python3-pykdtree

pykdtree is a kd-tree implementation for fast nearest neighbour search in Python. The aim is to be the fastest implementation around for common use cases (low dimensions and low number of neighbours) for both tree construction and queries.

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

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

sudo dnf -y install python3-pykdtree

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

sudo yum -y install python3-pykdtree

How To Uninstall python3-pykdtree on Fedora 36

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

sudo dnf remove python3-pykdtree

python3-pykdtree Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/26
/usr/lib/.build-id/26/65c9454c9300c5c5ce6c4551d8371c0f8a89e2
/usr/lib64/python3.10/site-packages/pykdtree
/usr/lib64/python3.10/site-packages/pykdtree-1.3.4-py3.10.egg-info
/usr/lib64/python3.10/site-packages/pykdtree-1.3.4-py3.10.egg-info/PKG-INFO
/usr/lib64/python3.10/site-packages/pykdtree-1.3.4-py3.10.egg-info/SOURCES.txt
/usr/lib64/python3.10/site-packages/pykdtree-1.3.4-py3.10.egg-info/dependency_links.txt
/usr/lib64/python3.10/site-packages/pykdtree-1.3.4-py3.10.egg-info/not-zip-safe
/usr/lib64/python3.10/site-packages/pykdtree-1.3.4-py3.10.egg-info/requires.txt
/usr/lib64/python3.10/site-packages/pykdtree-1.3.4-py3.10.egg-info/top_level.txt
/usr/lib64/python3.10/site-packages/pykdtree/__init__.py
/usr/lib64/python3.10/site-packages/pykdtree/__pycache__
/usr/lib64/python3.10/site-packages/pykdtree/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/pykdtree/__pycache__/__init__.cpython-310.pyc
/usr/lib64/python3.10/site-packages/pykdtree/__pycache__/test_tree.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/pykdtree/__pycache__/test_tree.cpython-310.pyc
/usr/lib64/python3.10/site-packages/pykdtree/kdtree.cpython-310-x86_64-linux-gnu.so
/usr/lib64/python3.10/site-packages/pykdtree/test_tree.py
/usr/share/licenses/python3-pykdtree
/usr/share/licenses/python3-pykdtree/LICENSE.txt

References

Summary

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