How To Install libarmnn22 on Kali Linux

In this tutorial we learn how to install libarmnn22 on Kali Linux. libarmnn22 is Arm NN is an inference engine for CPUs, GPUs and NPUs

Introduction

In this tutorial we learn how to install libarmnn22 on Kali Linux.

What is libarmnn22

libarmnn22 is:

Arm NN is a set of tools that enables machine learning workloads on any hardware. It provides a bridge between existing neural network frameworks and whatever hardware is available and supported. On arm architectures (arm64 and armhf) it utilizes the Arm Compute Library to target Cortex-A CPUs, Mali GPUs and Ethos NPUs as efficiently as possible. On other architectures/hardware it falls back to unoptimised functions.

This release supports Caffe, TensorFlow, TensorFlow Lite, and ONNX. Arm NN takes networks from these frameworks, translates them to the internal Arm NN format and then through the Arm Compute Library, deploys them efficiently on Cortex-A CPUs, and, if present, Mali GPUs.

This is the shared library package.

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

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

sudo apt-get update

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

sudo apt-get -y install libarmnn22

Install libarmnn22 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libarmnn22 using apt by running the following command:

sudo apt -y install libarmnn22

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

sudo aptitude -y install libarmnn22

How To Uninstall libarmnn22 on Kali Linux

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

sudo apt-get remove libarmnn22

Uninstall libarmnn22 And Its Dependencies

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

sudo apt-get -y autoremove libarmnn22

Remove libarmnn22 Configurations and Data

To remove libarmnn22 configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge libarmnn22

Remove libarmnn22 configuration, data, and all of its dependencies

We can use the following command to remove libarmnn22 configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libarmnn22

Dependencies

libarmnn22 have the following dependencies:

References

Summary

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