HandBrake-docs/source/docs/en/latest/developer/install-dependencies-el.markdown
2024-04-03 09:32:21 +02:00

3.5 KiB

Type, Title, Project, Project_URL, Project_Version, Language, Language_Code, Authors, Copyright, License, License_Abbr, License_URL
Type Title Project Project_URL Project_Version Language Language_Code Authors Copyright License License_Abbr License_URL
article Installing dependencies on Enterprise Linux HandBrake https://handbrake.fr/ Latest English en
Bradley Sepos <bradley@bradleysepos.com> (BradleyS)
2023 HandBrake Team Creative Commons Attribution-ShareAlike 4.0 International CC BY-SA 4.0 https://handbrake.fr/docs/license.html

Installing dependencies on Enterprise Linux

The following instructions are for distributions based on Enterprise Linux 8 and 9 (such as Rocky Linux and AlmaLinux), as well as CentOS Stream.

Basic requirements to run commands:

  • curl
  • sudo (for normal user accounts)

Dependencies:

  • autoconf
  • automake
  • bzip2
  • cmake
  • diffutils
  • dnf-plugins-core
  • fribidi-devel
  • gcc-c++
  • git
  • libxml2-devel
  • libtool
  • m4
  • make
  • numactl-devel
  • patch
  • pkg-config
  • python3
  • tar
  • xz-devel

Additional dependencies not available in the base repository:

  • jansson-devel [PowerTools]
  • lame-devel [PowerTools]
  • libass-devel [EPEL]
  • libogg-devel [PowerTools]
  • libsamplerate-devel [PowerTools]
  • libtheora-devel [PowerTools]
  • libvorbis-devel [PowerTools]
  • libvpx-devel [PowerTools]
  • meson [PowerTools]
  • nasm [PowerTools]
  • ninja-build [PowerTools]
  • opus-devel [PowerTools]
  • speex-devel [PowerTools]
  • turbojpeg-devel [PowerTools]
  • x264-devel [RPM Fusion]

Intel Quick Sync Video dependencies (optional):

  • libva-devel
  • libdrm-devel

Graphical interface dependencies:

  • desktop-file-utils
  • gstreamer1-libav
  • gstreamer1-plugins-base-devel
  • gstreamer1-plugins-good
  • gtk4-devel

Additional graphical interface dependencies not available in the base repository:

  • appstream [EPEL]
  • gstreamer1-libav [RPM Fusion]

Install dependencies.

sudo dnf install autoconf automake bzip2 cmake diffutils dnf-plugins-core fribidi-devel gcc-c++ git libtool libxml2-devel m4 make numactl-devel patch pkg-config python39 tar xz-devel

Enable the Enterprise Linux [PowerTools](abbr:also known as CRB) repository and install related additional dependencies.

sudo dnf config-manager --set-enabled crb || sudo dnf config-manager --set-enabled powertools
sudo dnf install jansson-devel lame-devel libogg-devel libsamplerate-devel libtheora-devel libvorbis-devel libvpx-devel meson nasm ninja-build opus-devel speex-devel turbojpeg-devel

Install the EPEL repository and related additional dependencies.

# AlmaLinux/Rocky Linux:
sudo dnf install epel-release
sudo dnf install libass-devel

# CentOS Stream:
sudo dnf install epel-next-release
sudo dnf install libass-devel

Install the RPM Fusion Free repository and related additional dependencies.

sudo dnf localinstall --nogpgcheck https://download1.rpmfusion.org/free/el/rpmfusion-free-release-$(rpm -E %rhel).noarch.rpm
sudo dnf install x264-devel

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

sudo dnf install libva-devel libdrm-devel

To build the GTK [GUI](abbr:Graphical User Interface), install the graphical interface dependencies.

sudo dnf install appstream desktop-file-utils gstreamer1-libav gstreamer1-plugins-base-devel gstreamer1-plugins-good gtk4-devel

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