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 Clear

The following instructions are for Clear 35470 and later.

Basic requirements to run commands:


Additional dependencies not available in the base repository:

Intel Quick Sync Video dependencies (optional):

Graphical interface dependencies:

Install dependencies.

sudo swupd update
sudo swupd bundle-add dev-utils dev-utils-dev devpkg-fribidi devpkg-jansson devpkg-libass devpkg-libjpeg-turbo devpkg-libogg devpkg-libsamplerate devpkg-libtheora devpkg-libvorbis devpkg-libvpx devpkg-opus devpkg-speex

Build and install the dependencies not available in the base repository.

# lame
curl -LO
tar -xf lame-3.100.tar.gz
cd lame-3.100
./configure --enable-shared --enable-static --enable-nasm
make -j$(nproc)
sudo make install-strip
cd ..

# x264
curl -LO
tar -xf x264-master.tar.bz2
cd x264-master
./configure --enable-shared --enable-static --enable-lto --enable-pic --enable-strip
make -j$(nproc)
sudo make install
cd ..

# make shared libraries findable
if ! grep '\/usr\/local\/lib' /etc/ >/dev/null 2>&1; then
    export CFLAGS="${CFLAGS:-} -I/usr/local/include"
    export LDFLAGS="${LDFLAGS:-} -L/usr/local/lib"
    echo 'export CFLAGS="${CFLAGS:-} -I/usr/local/include"' >> "${HOME}/.bashrc"
    echo 'export LDFLAGS="${LDFLAGS:-} -L/usr/local/lib"' >> "${HOME}/.bashrc"
    echo '/usr/local/lib' | sudo tee --append /etc/
    sudo ldconfig

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

sudo swupd bundle-add devpkg-libva devpkg-libdrm

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

sudo swupd bundle-add desktop-dev

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