Installing dependencies on Fedora

The following instructions are for Fedora 26 Workstation and later.

Basic requirements to run commands:


Additional dependencies not available in the base repository:

Graphical interface dependencies:

Quick Sync Video dependencies (configure –enable-qsv)

Install dependencies.

sudo dnf update
sudo dnf groupinstall "Development Tools" "Development Libraries"
sudo dnf install bzip2-devel cmake fontconfig-devel freetype-devel fribidi-devel gcc-c++ git harfbuzz-devel jansson-devel lame-devel lbzip2 libass-devel libogg-devel libsamplerate-devel libtheora-devel libtool libvorbis-devel libxml2-devel libvpx-devel m4 make nasm numactl-devel opus-devel patch python speex-devel tar xz-devel yasm zlib-devel

Install the RPM Fusion Free repository and related additional dependencies.

sudo dnf localinstall --nogpgcheck$(cat /etc/system-release | awk '{ print $3}').noarch.rpm
sudo dnf install x264-devel

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

sudo dnf groupinstall "X Software Development" "GNOME Software Development"
sudo dnf install dbus-glib-devel gstreamer1-devel gstreamer1-libav gstreamer1-plugins-base-devel intltool libgudev1-devel libnotify-devel
sudo dnf install webkit2gtk3-devel || sudo dnf install webkitgtk4-devel || sudo dnf install webkitgtk3-devel

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

sudo dnf install libva-devel libdrm-devel

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