i have server dedicated AlmaLinux 8 how i can install FFMPEG ?
thank u
Best Regards,
i have server dedicated AlmaLinux 8 how i can install FFMPEG ?
thank u
Best Regards,
I’ve only seen it in rpmfusion-free-updates:
$ dnf list ffmpeg
Last metadata expiration check: 0:00:18 ago on Mon 20 Mar 2023 14:49:42 GMT.
Available Packages
ffmpeg.x86_64 4.2.8-1.el8 rpmfusion-free-updates
Your choice whether you want to trust third party repos.
I know it’s free, but I’m wondering how to install it
If the package is in RPM Fusion and you want to use those repos, then
you have to configure the repos first. See Configuration - RPM Fusion
Once you have repo definitions, your package manager will use the (enabled) repos.
You will need root access, either directly or using the sudo
mechanism. Either:
# dnf install ffmpeg
or
$ sudo dnf install ffmpeg
However both of these assume that you have the rpmfusion-free-updates
repo available. Try
$ dnf repolist
and examine the output. If rpmfusion-free-updates
(and possibly rpmfusion-nonfree-updates
) are in the list, then go ahead and install as above. If it’s not there, then start at the page rpmfusion configuration, download the relevant release RPM and install it:
# dnf install Downloads/rpmfusion-free-release-8
obvious adjusting for the relevant path.
thank u so much
Best Regards,
If I use these commands, will it work?
cat /etc/system-release ; hostname ; hostname -I ; dnf groupinstall “Development Tools” -y
dnf install dnf-plugins-core -y ; dnf install epel-release dnf-utils -y
dnf install rpmfusion-free-release
dnf install --nogpgcheck https://mirrors.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-8.noarch.rpm
dnf config-manager --set-enabled powertools
dnf install ffmpeg ffmpeg-devel -y
rpm -qi ffmpeg ; ffmpeg -version
Let’s go through those one by one.
cat /etc/system-release
hostname
hostname -I
These are just gathering data. Why do you think you need to do them?
dnf groupinstall “Development Tools” -y
dnf install dnf-plugins-core -y
Unless you are planning more than simply installing ffmpeg, these shouldn’t be needed. don’t get into the bad habit of adding -y
when doing something new. Let the system work out what it is going to do and show you BEFORE changes are made.
dnf install epel-release dnf-utils -y
Fine if you’ve not alread got the EPEL repos available (without the -y).
dnf install rpmfusion-free-release
Yes, exactly as I showed above. Remember that you’ll have to download this as a file first, it is not in EPEL.
dnf install --nogpgcheck https://mirrors.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-8.noarch.rpm
Again fine. Personally I’d rather download the file from the website and install it locally, but you can try this if you want.
dnf config-manager --set-enabled powertools
Not sure why you want this, unless ffmpeg needs it for dependencies. Remember, always do things in small steps and check. If you do several things at once you’ll never know which one caused the unexpected problem (DAMHIK!).
dnf install ffmpeg ffmpeg-devel -y
Good, but maybe without the -y?
rpm -qi ffmpeg ; ffmpeg -version
You can get version information from dnf info ffmpeg ; ffmpeg
thank u alot
I love you professional man
Best Regards,