How to install ImageMagick on my AlmaLinux

When I try to instrall imagick for php 8.0 (also for other versions as well) I am getting this error

Last metadata expiration check: 1:28:03 ago on Mon Sep 26 05:27:45 2022.
(try to add ‘–skip-broken’ to skip uninstallable packages or ‘–nobest’ to use not only best candidate packages)
PHP Extension Installed.

But nothing is installing.

Do few think run the upgrade command and run this command with --skip-broken

Which command?

I tried to install from “Install Extensions” under PHP settings. I did not run any command.

Anyway, when I tried to run sudo yum update

I am getting this error, maybe this is a reason.
“Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/litespeed.repo; C
onfiguration: OptionBinding with id “failovermethod” does not exist
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/litespeed.repo; C
onfiguration: OptionBinding with id “failovermethod” does not exist
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/litespeed.repo; C
onfiguration: OptionBinding with id “failovermethod” does not exist
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/litespeed.repo; C
onfiguration: OptionBinding with id “failovermethod” does not exist
Last metadata expiration check: 2:13:56 ago on Mon 26 Sep 2022 05:27:45 AM UTC.
Dependencies resolved.
Nothing to do.
Complete!”