FFmpeg is required to run Videos from your server. Before proceeding this, please make it sure you have your own Dedicated server as this will not help on Shared hosting.
If your server is not ready and still need to configure cPanel on Almalinux 8 then follow this article.
Once you have installed cPanel on your dedicated server with Almalinux 8, first of all validate if your server has ffmpeg installed on not? Run this command:
If this command out shows versions list, then you don’t need to proceed, otherwise, just run the following commands to setup and install ffmpeg:
First of all, run this to check any missing update:
dnf -y update
Now next run these commands to enable EPEL repository:
dnf -y install https://download.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
yum install yum-utils -y
yum-config-manager --enable powertools
Next we need to add RPM fusion repository:
dnf install --nogpgcheck https://mirrors.rpmfusion.org/free/el/rpmfusion-free-release-8.noarch.rpm -y dnf install --nogpgcheck https://mirrors.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-8.noarch.rpm -y
Now install ffmpeg with this command:
dnf install ffmpeg ffmpeg-devel -y
It is done! You can validate with this command again: