How To Install libai-fann-perl on Kali Linux

In this tutorial we learn how to install libai-fann-perl on Kali Linux. libai-fann-perl is Perl wrapper for the FANN library

Introduction

In this tutorial we learn how to install libai-fann-perl on Kali Linux.

What is libai-fann-perl

libai-fann-perl is:

This module provides a Perl wrapper for the Fast Artificial Neural Network (FANN) library (http://leenissen.dk/fann/wp/).

The AI::FANN object oriented interface provides an almost direct map to the C library API.

There are three methods to install libai-fann-perl 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 libai-fann-perl Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libai-fann-perl using apt-get by running the following command:

sudo apt-get -y install libai-fann-perl

Install libai-fann-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libai-fann-perl using apt by running the following command:

sudo apt -y install libai-fann-perl

Install libai-fann-perl 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 update

After updating apt database, We can install libai-fann-perl using aptitude by running the following command:

sudo aptitude -y install libai-fann-perl

How To Uninstall libai-fann-perl on Kali Linux

To uninstall only the libai-fann-perl package we can use the following command:

sudo apt-get remove libai-fann-perl

Uninstall libai-fann-perl And Its Dependencies

To uninstall libai-fann-perl and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove libai-fann-perl

Remove libai-fann-perl Configurations and Data

To remove libai-fann-perl configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge libai-fann-perl

Remove libai-fann-perl configuration, data, and all of its dependencies

We can use the following command to remove libai-fann-perl configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libai-fann-perl

Dependencies

libai-fann-perl have the following dependencies:

References

Summary

In this tutorial we learn how to install libai-fann-perl package on Kali Linux using different package management tools: apt, apt-get and aptitude.