How to Install FFmpeg on cPanel / WHM server with Linux 8 / Almalinux 8

How to Install FFmpeg on cPanel / WHM server with Linux 8 / Almalinux 8

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:

ffmpeg -version

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:

ffmpeg -version

1 Comment

  • SoehnelS
    January 31, 2023

    Perfect! Thanks!

Post Your Comment

Build Your Website with 2COHOST

Your dream website is waiting for you, just few clicks ahead.

Our web hosting company 2COHOST was established in 2015 and we are serving with quality of services to our valuable customers.

Contact Us