Installing on CentOS 8

hello

trying to do by step by step example on CentOS 8

https://docs.nextcloud.com/server/latest/admin_manual/installation/example_centos.html

part

Manually building redis/imagick (optional)

yum install -y php-pear gcc curl-devel php-devel zlib-devel pcre-devel make pecl install redis

yum config-manager –set-enabled PowerTools yum install -y Imagemagick ImageMagick-devel pecl install imagick

After installing the extensions make sure to load the extensions in your php.ini file with:

extension=redis.so extension=imagick.so

Can not be done because not all noted packages present and some packages can’t be installed because no dependencies. is there any comments on this part of instructions already?