aboutsummaryrefslogtreecommitdiff
path: root/InstallationViaAptRepository.md
diff options
context:
space:
mode:
authorFrancis Murtagh <francis.murtagh@arm.com>2021-04-09 14:58:46 +0100
committerFrancis Murtagh <francis.murtagh@arm.com>2021-04-13 11:14:52 +0000
commitf18688ef344102c27f8ba2e8a5b7248c325b4f04 (patch)
tree639ec4075bf443b1ed1c289c0bdfe5325ac32034 /InstallationViaAptRepository.md
parentb392e9845b7f40ab0c389f29f13f6ec84dd814d1 (diff)
downloadarmnn-f18688ef344102c27f8ba2e8a5b7248c325b4f04.tar.gz
IVGCVSW-5795 Update Debian Packaging for 21.02
* Update Docs to reflect removal of dash from package names in order to follow debian standards (package name must match .so name) * libarmnn-tfliteparser - > libarmnntfliteparser * libarmnn-tfliteparser-dev -> libarmnntfliteparser-dev * libarmnn-aclcommon24 -> libarmnn-aclcommon24 Signed-off-by: Francis Murtagh <francis.murtagh@arm.com> Change-Id: I283cac293f018e4eaa3170eedc2947e64ed1cd7c
Diffstat (limited to 'InstallationViaAptRepository.md')
-rw-r--r--InstallationViaAptRepository.md54
1 files changed, 30 insertions, 24 deletions
diff --git a/InstallationViaAptRepository.md b/InstallationViaAptRepository.md
index 6ae3e187fb..d8e9ab8be2 100644
--- a/InstallationViaAptRepository.md
+++ b/InstallationViaAptRepository.md
@@ -12,8 +12,10 @@
## Introduction
-These are the step by step instructions on how to install the ArmNN core, TensorflowLite Parser as well as PyArmnn for x86_64, Arm64 and Armhf for Ubuntu 20.04.
-The packages will also be added to Debian Bullseye, their progress can be tracked here: https://tracker.debian.org/pkg/armnn
+These are the step by step instructions on how to install the Arm NN core, TensorflowLite Parser
+as well as PyArmNN for x86_64, Arm64 and Armhf for Ubuntu 20.04.
+The packages will also be added to Debian Bullseye, their progress can be tracked here:
+https://tracker.debian.org/pkg/armnn
## Add the Ubuntu Launchpad PPA to your system
@@ -28,7 +30,8 @@ The packages will also be added to Debian Bullseye, their progress can be tracke
We provide a number of packages for each architecture; x86_64, aarch64 and armhf as outlined below.
-ARMNN_MAJOR_VERSION: This is the ABI version of the ArmNN source that has been packaged based on include/armnn/Version.hpp.
+ARMNN_MAJOR_VERSION: This is the ABI version of the Arm NN source that has been packaged based on
+include/armnn/Version.hpp.
ARMNN_RELEASE_VERSION: This is the marketing release version based on the date source was released on github e.g. 20.11.
@@ -38,14 +41,14 @@ PACKAGE_VERSION: This is the version of the source package used to build the bin
* Runtime Packages
```
libarmnn-cpuref-backend{ARMNN_MAJOR_VERSION}_{ARMNN_RELEASE_VERSION}-{PACKAGE_VERSION}_amd64.deb
-libarmnn-tfliteparser{ARMNN_MAJOR_VERSION}_{ARMNN_RELEASE_VERSION}-{PACKAGE_VERSION}_amd64.deb
+libarmnntfliteparser{ARMNN_MAJOR_VERSION}_{ARMNN_RELEASE_VERSION}-{PACKAGE_VERSION}_amd64.deb
libarmnn{ARMNN_MAJOR_VERSION}_{ARMNN_RELEASE_VERSION}-{PACKAGE_VERSION}_amd64.deb
python3-pyarmnn_{ARMNN_RELEASE_VERSION}-{PACKAGE_VERSION}_amd64.deb
```
* Development Packages
```
libarmnn-dev_{ARMNN_RELEASE_VERSION}-{PACKAGE_VERSION}_amd64.deb
-libarmnn-tfliteparser-dev_{ARMNN_RELEASE_VERSION}-{PACKAGE_VERSION}_amd64.deb
+libarmnntfliteparser-dev_{ARMNN_RELEASE_VERSION}-{PACKAGE_VERSION}_amd64.deb
```
### arm64
* Runtime Packages
@@ -54,7 +57,7 @@ libarmnn-aclcommon{ARMNN_MAJOR_VERSION}_{ARMNN_RELEASE_VERSION}-{PACKAGE_VERSION
libarmnn-cpuacc-backend{ARMNN_MAJOR_VERSION}_{ARMNN_RELEASE_VERSION}-{PACKAGE_VERSION}_arm64.deb
libarmnn-cpuref-backend{ARMNN_MAJOR_VERSION}_{ARMNN_RELEASE_VERSION}-{PACKAGE_VERSION}_arm64.deb
libarmnn-gpuacc-backend{ARMNN_MAJOR_VERSION}_{ARMNN_RELEASE_VERSION}-{PACKAGE_VERSION}_arm64.deb
-libarmnn-tfliteparser{ARMNN_MAJOR_VERSION}_{ARMNN_RELEASE_VERSION}-{PACKAGE_VERSION}_arm64.deb
+libarmnntfliteparser{ARMNN_MAJOR_VERSION}_{ARMNN_RELEASE_VERSION}-{PACKAGE_VERSION}_arm64.deb
libarmnn{ARMNN_MAJOR_VERSION}_{ARMNN_RELEASE_VERSION}-{PACKAGE_VERSION}_arm64.deb
python3-pyarmnn_{ARMNN_RELEASE_VERSION}-{PACKAGE_VERSION}_arm64.deb
@@ -62,7 +65,7 @@ python3-pyarmnn_{ARMNN_RELEASE_VERSION}-{PACKAGE_VERSION}_arm64.deb
* Development Packages
```
libarmnn-dev_{ARMNN_RELEASE_VERSION}-{PACKAGE_VERSION}_arm64.deb
-libarmnn-tfliteparser-dev_{ARMNN_RELEASE_VERSION}-{PACKAGE_VERSION}_arm64.deb
+libarmnntfliteparser-dev_{ARMNN_RELEASE_VERSION}-{PACKAGE_VERSION}_arm64.deb
```
### armhf
@@ -72,7 +75,7 @@ libarmnn-aclcommon{ARMNN_MAJOR_VERSION}_{ARMNN_RELEASE_VERSION}-{PACKAGE_VERSION
libarmnn-cpuacc-backend{ARMNN_MAJOR_VERSION}_{ARMNN_RELEASE_VERSION}-{PACKAGE_VERSION}_armhf.deb
libarmnn-cpuref-backend{ARMNN_MAJOR_VERSION}_{ARMNN_RELEASE_VERSION}-{PACKAGE_VERSION}_armhf.deb
libarmnn-gpuacc-backend{ARMNN_MAJOR_VERSION}_{ARMNN_RELEASE_VERSION}-{PACKAGE_VERSION}_armhf.deb
-libarmnn-tfliteparser{ARMNN_MAJOR_VERSION}_{ARMNN_RELEASE_VERSION}-{PACKAGE_VERSION}_armhf.deb
+libarmnntfliteparser{ARMNN_MAJOR_VERSION}_{ARMNN_RELEASE_VERSION}-{PACKAGE_VERSION}_armhf.deb
libarmnn{ARMNN_MAJOR_VERSION}_{ARMNN_RELEASE_VERSION}-{PACKAGE_VERSION}_armhf.deb
python3-pyarmnn_{ARMNN_RELEASE_VERSION}-{PACKAGE_VERSION}_armhf.deb
@@ -80,35 +83,36 @@ python3-pyarmnn_{ARMNN_RELEASE_VERSION}-{PACKAGE_VERSION}_armhf.deb
* Development Packages
```
libarmnn-dev_{ARMNN_RELEASE_VERSION}-{PACKAGE_VERSION}_armhf.deb
-libarmnn-tfliteparser-dev_{ARMNN_RELEASE_VERSION}-{PACKAGE_VERSION}_armhf.deb
+libarmnntfliteparser-dev_{ARMNN_RELEASE_VERSION}-{PACKAGE_VERSION}_armhf.deb
```
## Check latest version of packages
-Due to Debian Packaging requiring the pristine tarball from our Github release, the version on Launchpad may not align with the released version on Github depending on the complexity of newly added features.
-In order to check for the latest available ArmNN version use apt-cache search:
+Due to Debian Packaging requiring the pristine tarball from our Github release, the version on Launchpad may not align
+with the released version on Github depending on the complexity of newly added features.
+In order to check for the latest available Arm NN version use apt-cache search:
```
apt-cache search libarmnn
# This returns a list of matching packages, the latest being libarmnn23 i.e. ARMNN_MAJOR_VERSION=23
- libarmnn-cpuref-backend22 - Arm NN is an inference engine for CPUs, GPUs and NPUs
libarmnn-cpuref-backend23 - Arm NN is an inference engine for CPUs, GPUs and NPUs
+ libarmnn-cpuref-backend24 - Arm NN is an inference engine for CPUs, GPUs and NPUs
libarmnn-dev - Arm NN is an inference engine for CPUs, GPUs and NPUs
- libarmnn-tfliteparser-dev - Arm NN is an inference engine for CPUs, GPUs and NPUs
- libarmnn-tfliteparser22 - Arm NN is an inference engine for CPUs, GPUs and NPUs
+ libarmnntfliteparser-dev - Arm NN is an inference engine for CPUs, GPUs and NPUs # Note: removal of dash to suit debian naming conventions
libarmnn-tfliteparser23 - Arm NN is an inference engine for CPUs, GPUs and NPUs
- libarmnn22 - Arm NN is an inference engine for CPUs, GPUs and NPUs
+ libarmnntfliteparser24 - Arm NN is an inference engine for CPUs, GPUs and NPUs # Note: removal of dash to suit debian naming conventions
libarmnn23 - Arm NN is an inference engine for CPUs, GPUs and NPUs
- libarmnn-aclcommon22 - Arm NN is an inference engine for CPUs, GPUs and NPUs
+ libarmnn24 - Arm NN is an inference engine for CPUs, GPUs and NPUs
libarmnn-aclcommon23 - Arm NN is an inference engine for CPUs, GPUs and NPUs
- libarmnn-cpuacc-backend22 - Arm NN is an inference engine for CPUs, GPUs and NPUs
+ libarmnnaclcommon24 - Arm NN is an inference engine for CPUs, GPUs and NPUs # Note: removal of dash to suit debian naming conventions
libarmnn-cpuacc-backend23 - Arm NN is an inference engine for CPUs, GPUs and NPUs
- libarmnn-gpuacc-backend22 - Arm NN is an inference engine for CPUs, GPUs and NPUs
+ libarmnn-cpuacc-backend24 - Arm NN is an inference engine for CPUs, GPUs and NPUs
libarmnn-gpuacc-backend23 - Arm NN is an inference engine for CPUs, GPUs and NPUs
+ libarmnn-gpuacc-backend24 - Arm NN is an inference engine for CPUs, GPUs and NPUs
# Export the ARMNN_MAJOR_VERSION to allow installation using the below examples
- export ARMNN_MAJOR_VERSION=23
+ export ARMNN_MAJOR_VERSION=24
```
@@ -119,13 +123,15 @@ The easiest way to install all of the available packages for your systems archit
sudo apt-get install -y python3-pyarmnn libarmnn-cpuacc-backend${ARMNN_MAJOR_VERSION} libarmnn-gpuacc-backend${ARMNN_MAJOR_VERSION} libarmnn-cpuref-backend${ARMNN_MAJOR_VERSION}
# Verify installation via python:
python3 -c "import pyarmnn as ann;print(ann.GetVersion())"
- # Returns '{ARMNN_MAJOR_VERSION}.0.0' e.g. 23.0.0
+ # Returns '{ARMNN_MAJOR_VERSION}.0.0' e.g. 24.0.0
```
-This will install PyArmnn and the three backends for Neon, Compute Library and our Reference Backend.
-It will also install their dependencies including the arm-compute-library package along with the Tensorflow Lite Parser and it's dependency ArmNN Core.
-If the user does not wish to use PyArmnn they can go up a level of dependencies and instead just install the Tensorflow Lite Parser:
+This will install PyArmNN and the three backends for Neon, Compute Library and our Reference Backend.
+It will also install their dependencies including the arm-compute-library package along with the Tensorflow Lite Parser
+and it's dependency Arm NN Core.
+If the user does not wish to use PyArmNN they can go up a level of dependencies and instead just install the
+Tensorflow Lite Parser:
```
- sudo apt-get install -y libarmnn-tfliteparser${ARMNN_MAJOR_VERSION} libarmnn-gpuacc-backend${ARMNN_MAJOR_VERSION}
+ sudo apt-get install -y libarmnntfliteparser${ARMNN_MAJOR_VERSION} libarmnn-gpuacc-backend${ARMNN_MAJOR_VERSION}
```
## Uninstall packages