mirror of
https://github.com/HandBrake/HandBrake-docs.git
synced 2025-12-10 17:47:51 -06:00
98 lines
2.5 KiB
Markdown
98 lines
2.5 KiB
Markdown
---
|
|
Type: article
|
|
Title: Installing dependencies on Ubuntu
|
|
Project: HandBrake
|
|
Project_URL: https://handbrake.fr/
|
|
Project_Version: Latest
|
|
Language: English
|
|
Language_Code: en
|
|
Authors: [ Bradley Sepos <bradley@bradleysepos.com> (BradleyS) ]
|
|
Copyright: 2022 HandBrake Team
|
|
License: Creative Commons Attribution-ShareAlike 4.0 International
|
|
License_Abbr: CC BY-SA 4.0
|
|
License_URL: https://handbrake.fr/docs/license.html
|
|
---
|
|
|
|
Installing dependencies on Ubuntu
|
|
=================================
|
|
|
|
The following instructions are for [Ubuntu](https://www.ubuntu.com) 22.04 (Jammy Jellyfish) and 20.04 (Focal Fossa).
|
|
|
|
Basic requirements to run commands:
|
|
|
|
- sudo (for normal user accounts)
|
|
|
|
Dependencies:
|
|
|
|
- autoconf
|
|
- automake
|
|
- autopoint
|
|
- appstream
|
|
- build-essential
|
|
- cmake
|
|
- clang
|
|
- 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
|
|
- libturbojpeg0-dev
|
|
- libvorbis-dev
|
|
- libx264-dev
|
|
- libxml2-dev
|
|
- libvpx-dev
|
|
- m4
|
|
- make
|
|
- meson
|
|
- nasm
|
|
- ninja-build
|
|
- patch
|
|
- pkg-config
|
|
- tar
|
|
- zlib1g-dev
|
|
|
|
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
|
|
- libgtk-3-dev
|
|
- libnotify-dev
|
|
- libwebkit2gtk-4.0-dev
|
|
|
|
Install dependencies.
|
|
|
|
sudo apt-get update
|
|
sudo apt-get install autoconf automake autopoint appstream 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 libturbojpeg0-dev libvorbis-dev libx264-dev libxml2-dev libvpx-dev m4 make meson nasm ninja-build patch pkg-config tar zlib1g-dev clang
|
|
|
|
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](abbr:Graphical User Interface), 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 libgtk-3-dev libnotify-dev libwebkit2gtk-4.0-dev
|
|
|
|
Ubuntu is now prepared to build HandBrake. See [Building HandBrake for Linux](build-linux.html) for further instructions.
|