How To Install NearTree on Fedora 34

NearTree is An API for finding nearest neighbors An API for finding nearest neighbors

Introduction

In this tutorial we learn how to install NearTree on Fedora 34.

What is NearTree

This is a release of an API for finding nearest neighbors among points in spaces of arbitrary dimensions. This release provides a C++ template, TNear.h, and a C library, CNearTree.c, with example/test programs. NearTree 5.1.1 7.fc34 x86_64 65 k NearTree-5.1.1-7.fc34.src.rpm fedora An API for finding nearest neighbors http LGPLv2+ This is a release of an API for finding nearest neighbors among points in spaces of arbitrary dimensions. This release provides a C++ template, TNear.h, and a C library, CNearTree.c, with example/test programs.

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

Install NearTree on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install NearTree using dnf by running the following command:

sudo dnf -y install NearTree

Install NearTree on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install NearTree using yum by running the following command:

sudo yum -y install NearTree

How To Uninstall NearTree on Fedora 34

To uninstall only the NearTree package we can use the following command:

sudo dnf remove NearTree

NearTree Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/2d
/usr/lib/.build-id/2d/93bde016d104924f219ab352b4d5246e186786
/usr/lib64/libCNearTree.so.7
/usr/lib64/libCNearTree.so.7.0.0
/usr/share/doc/NearTree
/usr/share/doc/NearTree/README_NearTree.html
/usr/share/doc/NearTree/README_NearTree.txt
/usr/share/doc/NearTree/lgpl.txt
/usr/lib/.build-id
/usr/lib/.build-id/5a
/usr/lib/.build-id/5a/b19a0f6738a0646767b3bac3cb3ad4974f20f7
/usr/lib/libCNearTree.so.7
/usr/lib/libCNearTree.so.7.0.0
/usr/share/doc/NearTree
/usr/share/doc/NearTree/README_NearTree.html
/usr/share/doc/NearTree/README_NearTree.txt
/usr/share/doc/NearTree/lgpl.txt

References

Summary

In this tutorial we learn how to install NearTree on Fedora 34 using yum and dnf.