Handbrake, compile from source on Fedora 25 · uwot.eu
another meaningless subtitle

Handbrake, compile from source on Fedora 25

· by fabio · Read in about 1 min · (157 Words)
fedora Fedora 25 Handbrake

Handbrake cannot be installed from default repos nor rpmfusion, to get it on Fedora 25 there are two other options:
1. use negativo17 third party repository;
2. compile from source.
The first option is, but that is my opinion, subpar because I don’t trust third party repositories; option two is what is left.
Download the source code from git and install some dependencies:

$ git clone https://github.com/HandBrake/HandBrake.git
$ sudo dnf install dbus-glib-devel gstreamer1-devel gstreamer1-plugins-base-devel intltool libgudev1-devel libnotify-devel webkitgtk3-devel libgudev-devel dbus-glib-devel webkitgtk3-devel gstream-devel libnotify-devel gstreamer1-devel gstreamer1-plugins-base-devel lame-devel opus-devel fribidi-devel libass-devel libtheora-devel x264-devel nasm

Like I do with every other program I like to keep as much up to date as possible, I have a small script to take care of compilation, installation and upgrade processes for me.

#!/bin/sh

SOURCE_DIR="/path/to/HandBrake"

git pull

cd $SOURCE_DIR
./configure --prefix=/usr --launch-jobs=0 --launch --force
cd ./build
sudo make install

Now Handbrake is installed and the GTK enabled binary called “ghb” is placed in /usb/bin.