How To Install ann-tools on Kali Linux
Introduction
In this tutorial we learn how to install ann-tools on Kali Linux.
What is ann-tools
ann-tools is:
ANN is a library written in C++, which supports data structures and algorithms for both exact and approximate nearest neighbor searching in arbitrarily high dimensions. ANN assumes that distances are measured using any class of distance functions called Minkowski metrics. These include the well known Euclidean distance, Manhattan distance, and max distance. ANN performs quite efficiently for point sets ranging in size from thousands to hundreds of thousands, and in dimensions as high as 20.
This package contains the ann2fig (display ANN output in fig format) and the ann_sample (a sample demonstration for ANN) programs.
There are three methods to install ann-tools on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install ann-tools Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install ann-tools using apt-get by running the following command:
sudo apt-get -y install ann-toolsInstall ann-tools Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install ann-tools using apt by running the following command:
sudo apt -y install ann-toolsInstall ann-tools Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.
sudo aptitude updateAfter updating apt database, We can install ann-tools using aptitude by running the following command:
sudo aptitude -y install ann-toolsHow To Uninstall ann-tools on Kali Linux
To uninstall only the ann-tools package we can use the following command:
sudo apt-get remove ann-toolsUninstall ann-tools And Its Dependencies
To uninstall ann-tools and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove ann-toolsRemove ann-tools Configurations and Data
To remove ann-tools configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge ann-toolsRemove ann-tools configuration, data, and all of its dependencies
We can use the following command to remove ann-tools configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge ann-toolsDependencies
ann-tools have the following dependencies:
References
Summary
In this tutorial we learn how to install ann-tools package on Kali Linux using different package management tools: apt, apt-get and aptitude.