HandBrake-docs/source/docs/en/latest/developer/install-dependencies-debian.markdown
2019-04-16 15:37:41 -04:00

3.0 KiB

Type, Title, Project, Project_URL, Project_Version, Language, Language_Code, Authors, Copyright, License, License_Abbr, License_URL
Type Title Project Project_URL Project_Version Language Language_Code Authors Copyright License License_Abbr License_URL
article Installing dependencies on Debian HandBrake https://handbrake.fr/ Latest English en
Bradley Sepos <bradley@bradleysepos.com> (BradleyS)
2019 HandBrake Team Creative Commons Attribution-ShareAlike 4.0 International CC BY-SA 4.0 https://handbrake.fr/docs/license.html

Installing dependencies on Debian

The following instructions are for Debian 9.8 (Stretch) x86_64.

Basic requirements to run commands:

  • curl
  • sudo (for normal user accounts)

Dependencies:

  • autoconf
  • automake
  • build-essential
  • cmake
  • git
  • libass-dev
  • libbz2-dev
  • libfontconfig1-dev
  • libfreetype6-dev
  • libfribidi-dev
  • libharfbuzz-dev
  • libjansson-dev
  • liblzma-dev
  • libmp3lame-dev
  • libnuma-dev
  • libogg-dev
  • libopus-dev
  • libsamplerate-dev
  • libspeex-dev
  • libtheora-dev
  • libtool
  • libtool-bin
  • libvorbis-dev
  • libx264-dev
  • libxml2-dev
  • libvpx-dev
  • m4
  • make
  • patch
  • pkg-config
  • python
  • tar
  • yasm
  • zlib1g-dev

Additional dependencies not available in the base repository:

  • nasm [Debian sid]

Graphical interface dependencies:

  • intltool
  • libappindicator-dev
  • libdbus-glib-1-dev
  • libglib2.0-dev
  • libgstreamer1.0-dev
  • libgstreamer-plugins-base1.0-dev
  • libgtk-3-dev
  • libgudev-1.0-dev
  • libnotify-dev
  • libwebkitgtk-3.0-dev

Quick Sync Video dependencies (configure --enable-qsv)

  • libva
  • libdrm

Install dependencies.

sudo apt-get update
sudo apt-get install autoconf automake build-essential cmake git libass-dev libbz2-dev libfontconfig1-dev libfreetype6-dev libfribidi-dev libharfbuzz-dev libjansson-dev liblzma-dev libmp3lame-dev libnuma-dev libogg-dev libopus-dev libsamplerate-dev libspeex-dev libtheora-dev libtool libtool-bin libvorbis-dev libx264-dev libxml2-dev libvpx-dev m4 make patch pkg-config python tar yasm zlib1g-dev

The nasm package provided by Debian 9 is too old. Install a newer version provided by Debian sid (unstable/development distribution)1.

sudo curl -L 'http://ftp.debian.org/debian/pool/main/n/nasm/nasm_2.13.03-1_amd64.deb' -o /var/cache/apt/archives/nasm_2.13.03-1_amd64.deb
sudo dpkg -i /var/cache/apt/archives/nasm_2.13.03-1_amd64.deb

To build the GTK [GUI](abbr:Graphical User Interface), install the graphical interface dependencies.

sudo apt-get install intltool libappindicator-dev libdbus-glib-1-dev libglib2.0-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgtk-3-dev libgudev-1.0-dev libnotify-dev libwebkitgtk-3.0-dev

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

sudo apt-get install libva-dev libdrm-dev

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


  1. Installing newer packages than those available in the base repository may lead to incompatibility with other software expecting specific package versions. ↩︎