How To Install libarmnn-dev on Debian 12

Learn how to install libarmnn-dev on Debian 12 with this tutorial. libarmnn-dev is Arm NN is an inference engine for CPUs, GPUs and NPUs

Introduction

In this tutorial we learn how to install libarmnn-dev on Debian 12.

What is libarmnn-dev

libarmnn-dev 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 development package containing header files.

There are three methods to install libarmnn-dev on Debian 12. 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-dev 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-dev using apt-get by running the following command:

sudo apt-get -y install libarmnn-dev

Install libarmnn-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libarmnn-dev

Install libarmnn-dev Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install libarmnn-dev

How To Uninstall libarmnn-dev on Debian 12

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

sudo apt-get remove libarmnn-dev

Uninstall libarmnn-dev And Its Dependencies

To uninstall libarmnn-dev and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove libarmnn-dev

Remove libarmnn-dev Configurations and Data

To remove libarmnn-dev configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge libarmnn-dev

Remove libarmnn-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libarmnn-dev

Dependencies

libarmnn-dev have the following dependencies:

References

Summary

In this tutorial we learn how to install libarmnn-dev package on Debian 12 using different package management tools: apt, apt-get and aptitude.