docs: Update instructions for Enterprise Linux/CentOS

Change name in documentation to Enterprise Linux.
Tested distributions: AlmaLinux, Rocky Linux, CentOS Stream
This commit is contained in:
robxnano 2023-10-21 20:03:37 +01:00 committed by Bradley Sepos
parent ff73965005
commit 1f7193bf1a
No known key found for this signature in database
GPG Key ID: DEADE2F57D42D9C7
3 changed files with 36 additions and 25 deletions

View File

@ -24,9 +24,9 @@ Dependency installation instructions are available for the following distributio
- [Alpine](install-dependencies-alpine.html)
- [Arch](install-dependencies-arch.html)
- [CentOS](install-dependencies-centos.html)
- [Clear](install-dependencies-clear.html)
- [Debian](install-dependencies-debian.html)
- [Enterprise Linux](install-dependencies-el.html)
- [Fedora](install-dependencies-fedora.html)
- [Gentoo](install-dependencies-gentoo.html)
- [Mageia](install-dependencies-mageia.html)

View File

@ -1,6 +1,6 @@
---
Type: article
Title: Installing dependencies on CentOS
Title: Installing dependencies on Enterprise Linux
Project: HandBrake
Project_URL: https://handbrake.fr/
Project_Version: Latest
@ -13,12 +13,10 @@ License_Abbr: CC BY-SA 4.0
License_URL: https://handbrake.fr/docs/license.html
---
Installing dependencies on CentOS
=================================
Installing dependencies on Enterprise Linux
===========================================
## CentOS 8
The following instructions are for [CentOS](https://centos.org) 8.
The following instructions are for distributions based on Enterprise Linux 8 and 9 (such as [Rocky Linux](https://rockylinux.org) and [AlmaLinux](https://almalinux.org)), as well as [CentOS Stream](https://centos.org).
Basic requirements to run commands:
@ -27,18 +25,29 @@ Basic requirements to run commands:
Dependencies:
- Development Tools
- autoconf
- automake
- bzip2
- cmake
- diffutils
- dnf-plugins-core
- fribidi-devel
- gcc-c++
- git
- jansson-devel
- 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]
@ -61,37 +70,39 @@ Intel Quick Sync Video dependencies (optional):
Graphical interface dependencies:
- dbus-glib-devel
- gstreamer1-devel
- desktop-file-utils
- gstreamer1-libav
- gstreamer1-plugins-base-devel
- intltool
- libnotify-devel
- webkit2gtk3-devel
- gstreamer1-plugins-good
- gtk3-devel
Additional graphical interface dependencies not available in the base repository:
- appstream [EPEL]
- gstreamer1-libav [RPM Fusion]
- libgudev1-devel [PowerTools]
Install dependencies.
sudo dnf update
sudo dnf groupinstall "Development Tools"
sudo dnf install cmake fribidi-devel git jansson-devel libxml2-devel numactl-devel python3 xz-devel
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 CentOS PowerTools repository and install related additional dependencies.
Enable the Enterprise Linux [PowerTools](abbr:also known as CRB) repository and install related additional dependencies.
sudo dnf config-manager --set-enabled PowerTools
sudo dnf install lame-devel libogg-devel libsamplerate-devel libtheora-devel libvorbis-devel libvpx-devel meson nasm ninja-build opus-devel speex-devel turbojpeg-devel
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](https://fedoraproject.org/wiki/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](http://rpmfusion.org) Free repository and related additional dependencies.
sudo dnf localinstall --nogpgcheck https://download1.rpmfusion.org/free/el/rpmfusion-free-release-8.noarch.rpm
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.
@ -100,6 +111,6 @@ To build with Intel Quick Sync Video support, install the QSV dependencies.
To build the GTK [GUI](abbr:Graphical User Interface), install the graphical interface dependencies.
sudo dnf install dbus-glib-devel gstreamer1-devel gstreamer1-libav gstreamer1-plugins-base-devel intltool libgudev1-devel libnotify-devel webkit2gtk3-devel
sudo dnf install appstream desktop-file-utils gstreamer1-libav gstreamer1-plugins-base-devel gstreamer1-plugins-good gtk3-devel
CentOS is now prepared to build HandBrake. See [Building HandBrake for Linux](build-linux.html) for further instructions.
Enterprise Linux is now prepared to build HandBrake. See [Building HandBrake for Linux](build-linux.html) for further instructions.

View File

@ -162,7 +162,7 @@ Table of contents
- [Building HandBrake for BSD](developer/build-bsd.html)
- Installing dependencies on [FreeBSD](developer/install-dependencies-freebsd.html) / [NetBSD](developer/install-dependencies-netbsd.html) / [OpenBSD](developer/install-dependencies-openbsd.html)
- [Building HandBrake for Linux](developer/build-linux.html)
- Installing dependencies on [Alpine](developer/install-dependencies-alpine.html) / [Arch](developer/install-dependencies-arch.html) / [CentOS](developer/install-dependencies-centos.html) / [Clear](developer/install-dependencies-clear.html) / [Debian](developer/install-dependencies-debian.html) / [Fedora](developer/install-dependencies-fedora.html) / [Gentoo](developer/install-dependencies-gentoo.html) / [Mageia](developer/install-dependencies-mageia.html) / [OpenSUSE](developer/install-dependencies-opensuse.html) / [Solus](developer/install-dependencies-solus.html) / [Ubuntu](developer/install-dependencies-ubuntu.html) / [Void](developer/install-dependencies-void.html)
- Installing dependencies on [Alpine](developer/install-dependencies-alpine.html) / [Arch](developer/install-dependencies-arch.html) / [Clear](developer/install-dependencies-clear.html) / [Debian](developer/install-dependencies-debian.html) / [EL](developer/install-dependencies-el.html) / [Fedora](developer/install-dependencies-fedora.html) / [Gentoo](developer/install-dependencies-gentoo.html) / [Mageia](developer/install-dependencies-mageia.html) / [OpenSUSE](developer/install-dependencies-opensuse.html) / [Solus](developer/install-dependencies-solus.html) / [Ubuntu](developer/install-dependencies-ubuntu.html) / [Void](developer/install-dependencies-void.html)
- [Building HandBrake for Mac](developer/build-mac.html)
- [Building HandBrake for Windows](developer/build-windows.html)
- Packaging HandBrake