Installing dependencies on Alpine

The following instructions are for Alpine 3.18.

Basic requirements to run commands:

Dependencies:

Intel Quick Sync Video dependencies (optional):

Graphical interface dependencies:

Install dependencies.

sudo apk add autoconf automake busybox cmake g++ git jansson-dev lame-dev libass-dev libjpeg-turbo-dev libtheora-dev libtool libvorbis-dev libvpx-dev libxml2-dev m4 make meson nasm ninja numactl-dev opus-dev patch pkgconf python3 speex-dev tar x264-dev

To build with Intel Quick Sync Video support, install the QSV dependencies.

sudo apk add libva-dev libdrm-dev

To build the GTK GUI, install the graphical interface dependencies.

sudo apk add desktop-file-utils gst-libav gst-plugins-base-dev gst-plugins-good gtk+3.0-dev

Alpine is now prepared to build HandBrake. See Building HandBrake for Linux for further instructions.