How To Install libarmnn-cpuref-backend22 on Kali Linux

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

Introduction

In this tutorial we learn how to install libarmnn-cpuref-backend22 on Kali Linux.

What is libarmnn-cpuref-backend22

libarmnn-cpuref-backend22 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 dynamically loadable Reference backend package.

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

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

sudo apt-get update

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

sudo apt-get -y install libarmnn-cpuref-backend22

Install libarmnn-cpuref-backend22 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libarmnn-cpuref-backend22 using apt by running the following command:

sudo apt -y install libarmnn-cpuref-backend22

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

sudo aptitude -y install libarmnn-cpuref-backend22

How To Uninstall libarmnn-cpuref-backend22 on Kali Linux

To uninstall only the libarmnn-cpuref-backend22 package we can use the following command:

sudo apt-get remove libarmnn-cpuref-backend22

Uninstall libarmnn-cpuref-backend22 And Its Dependencies

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

sudo apt-get -y autoremove libarmnn-cpuref-backend22

Remove libarmnn-cpuref-backend22 Configurations and Data

To remove libarmnn-cpuref-backend22 configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge libarmnn-cpuref-backend22

Remove libarmnn-cpuref-backend22 configuration, data, and all of its dependencies

We can use the following command to remove libarmnn-cpuref-backend22 configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libarmnn-cpuref-backend22

Dependencies

libarmnn-cpuref-backend22 have the following dependencies:

References

Summary

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