This article is for an older version of HandBrake. All versions.
Dieser Artikel ist für eine ältere Version von HandBrake. Alle Versionen.
Installing dependencies on Ubuntu
The following instructions are for Ubuntu 18.04 LTS (Bionic Beaver) through 20.04 (Focal Fossa).
Basic requirements to run commands:
- sudo (for normal user accounts)
Dependencies:
- autoconf
- automake
- autopoint
- 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
- nasm
- ninja-build
- patch
- pkg-config
- python
- tar
- zlib1g-dev
Additional dependencies for Ubuntu 18.10 and later:
- meson
Additional Ubuntu 18.04 LTS dependencies:
- python3-pip
- meson (via pip3)
Intel Quick Sync Video dependencies (optional):
- libva-dev
- libdrm-dev
Graphical interface dependencies:
- gstreamer1.0-libav
- 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
- libwebkit2gtk-4.0-dev
Install dependencies.
sudo apt-get update
sudo apt-get install autoconf automake autopoint 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 nasm ninja-build patch pkg-config python tar zlib1g-dev
If you are running Ubuntu 18.10 or later, install the additional dependencies.
sudo apt-get install meson
If you are running Ubuntu 18.04 LTS, the meson
package is too old. Install a newer version provided by the Python Package Index.
sudo apt-get install python3-pip
sudo pip3 install meson
To build with Intel Quick Sync Video support, install the QSV dependencies.
sudo apt-get install libva-dev libdrm-dev
To build the GTK GUI, install the graphical interface dependencies.
sudo apt-get install gstreamer1.0-libav 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 libwebkit2gtk-4.0-dev
Ubuntu is now prepared to build HandBrake. See Building HandBrake for Linux for further instructions.