How To Install ann on Fedora 36

In this tutorial we learn how to install ann in Fedora 36. ann is Library for searching Approximate Nearest Neighbors

Introduction

In this tutorial we learn how to install ann on Fedora 36.

What is ann

ANN is a library written in the C++ programming language to support both exact and approximate nearest neighbor searching in spaces of various dimensions. It was implemented by David M. Mount of the University of Maryland, and Sunil Arya of the Hong Kong University of Science and Technology. ANN (pronounced like the name ``Ann’’) stands for Approximate Nearest Neighbors. ANN is also a testbed containing programs and procedures for generating data sets, collecting and analyzing statistics on the performance of nearest neighbor algorithms and data structures, and visualizing the geometric structure of these data structures.

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

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

sudo dnf -y install ann

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

sudo yum -y install ann

How To Uninstall ann on Fedora 36

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

sudo dnf remove ann

ann Package Contents on Fedora 36

/usr/bin/ann2fig
/usr/lib/.build-id
/usr/lib/.build-id/64
/usr/lib/.build-id/64/ea07cc50e737854d9917572848a9588574b8a1

References

Summary

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