dlib

🚀️ Always up-to-date Dlib binaries for Raspberry Pi - just download and use it.

GitHub Release Downloads License Linux

Install

The command downloads and installs Dlib as a Debian package.

curl -sSLo dlib.deb https://github.com/prepkg/dlib-raspberrypi/releases/latest/download/dlib-aarch64-linux-gnu.deb \ && sudo apt install -y ./dlib.deb \ && rm -rf dlib.deb

Why?

No official Dlib packages

There are no prebuilt official Dlib packages for Raspberry Pi OS, forcing users to compile it from source themselves.

Slow compilation on Raspberry Pi

Building Dlib directly on a Raspberry Pi can take hours and often runs into the limited RAM available on the device.

Always up to date

GitHub CI workflows rebuild and publish Dlib automatically whenever a new version is released upstream.

No extra dependencies

The required libraries are statically linked, so the Dlib binaries only depend on the base system libraries already present on Raspberry Pi OS.

Supported Platforms

Platform Architectures Notes
Raspberry Pi OS 64-bit aarch64 Dynamically linked with an older glibc version;
statically linked with libstdc++, libgcc, and OpenBLAS.