How To Install php-pecl-imagick on Fedora 36
Introduction
In this tutorial we learn how to install php-pecl-imagick
on Fedora 36.
What is php-pecl-imagick
Imagick is a native php extension to create and modify images using the ImageMagick API.
We can use yum
or dnf
to install php-pecl-imagick
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install php-pecl-imagick.
Install php-pecl-imagick on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install php-pecl-imagick
using dnf
by running the following command:
sudo dnf -y install php-pecl-imagick
Install php-pecl-imagick on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install php-pecl-imagick
using yum
by running the following command:
sudo yum -y install php-pecl-imagick
How To Uninstall php-pecl-imagick on Fedora 36
To uninstall only the php-pecl-imagick
package we can use the following command:
sudo dnf remove php-pecl-imagick
php-pecl-imagick Package Contents on Fedora 36
/etc/php-zts.d/40-imagick.ini
/etc/php.d/40-imagick.ini
/usr/lib/.build-id
/usr/lib/.build-id/39
/usr/lib/.build-id/39/c5df14bd10d58d8fbfc299cd3cbd84eef884c8
/usr/lib/.build-id/fb
/usr/lib/.build-id/fb/482dfa443d3dfa691e99693953fc4be6e06157
/usr/lib64/php-zts/modules/imagick.so
/usr/lib64/php/modules/imagick.so
/usr/share/doc/pecl/imagick
/usr/share/doc/pecl/imagick/CREDITS
/usr/share/doc/pecl/imagick/ChangeLog
/usr/share/doc/pecl/imagick/examples
/usr/share/doc/pecl/imagick/examples/captcha.php
/usr/share/doc/pecl/imagick/examples/polygon.php
/usr/share/doc/pecl/imagick/examples/thumbnail.php
/usr/share/doc/pecl/imagick/examples/watermark.php
/var/lib/php/peclxml/php-pecl-imagick.xml
References
Summary
In this tutorial we learn how to install php-pecl-imagick
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).