HandBrake-docs/source/docs/en/latest/developer/install-dependencies-centos.markdown
2018-05-30 05:38:52 -04:00

2.2 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 CentOS HandBrake https://handbrake.fr/ Latest English en
Bradley Sepos <bradley@bradleysepos.com> (BradleyS)
2018 HandBrake Team Creative Commons Attribution-ShareAlike 4.0 International CC BY-SA 4.0 https://handbrake.fr/docs/license.html

Installing dependencies on CentOS

CentOS 7

The following instructions are for CentOS 7 x86_64 (HandBrake [CLI](abbr:Command Line Interface) only).

Dependencies:

  • Development Tools
  • Additional Development
  • fribidi-devel
  • jansson-devel
  • libogg-devel
  • libsamplerate-devel
  • libtheora-devel
  • libvorbis-devel
  • opus-devel

Additional dependencies not available in the base repository:

  • lame-devel [RPM Fusion]
  • libass-devel [EPEL]
  • x264-devel [RPM Fusion]
  • yasm [EPEL]

Install dependencies.

sudo yum update
sudo yum groupinstall "Development Tools" "Additional Development"
sudo yum install fribidi-devel jansson-devel libogg-devel libsamplerate-devel libtheora-devel libvorbis-devel opus-devel

Install the EPEL repository and related additional dependencies.

sudo yum install epel-release
sudo yum install libass-devel yasm

The lame-devel and x264-devel packages are now provided by the RPM Fusion repository. If you previously installed the ZMREPO repository for these packages, remove them and the repository before continuing.

# Only necessary if previously installed ZMREPO
sudo yum repo-pkgs zmrepo remove
sudo yum remove zmrepo

Install the RPM Fusion Free repository and related additional dependencies.

sudo yum localinstall --nogpgcheck https://download1.rpmfusion.org/free/el/rpmfusion-free-release-7.noarch.rpm
sudo yum install lame-devel x264-devel

CentOS is now prepared to build the HandBrake [CLI](abbr:Command Line Interface). See Building HandBrake for Linux for further instructions.