How to Install and Uninstall php7.2-imagick Package on Debian 11 (Bullseye)

Last updated: December 26,2024

1. Install "php7.2-imagick" package

This tutorial shows how to install php7.2-imagick on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install php7.2-imagick

2. Uninstall "php7.2-imagick" package

Please follow the instructions below to uninstall php7.2-imagick on Debian 11 (Bullseye):

$ sudo apt remove php7.2-imagick $ sudo apt autoclean && sudo apt autoremove

3. Information about the php7.2-imagick package on Debian 11 (Bullseye)

Package: php7.2-imagick
Source: php-imagick
Version: 3.6.0-4+0~20220117.35+debian11~1.gbp149f82
Architecture: amd64
Maintainer: Debian PHP PECL Maintainers
Installed-Size: 486
Pre-Depends: php-common (>= 2:69~)
Depends: php7.2-common, phpapi-20170718, libc6 (>= 2.14), libgomp1 (>= 9), libmagickcore-6.q16-6 (>= 8:6.9.10.2), libmagickwand-6.q16-6 (>= 8:6.9.10.2)
Recommends: ghostscript, ttf-dejavu-core
Breaks: php-imagick (<< 3.6.0-4+0~20220117.35+debian11~1.gbp149f82~)
Replaces: php-imagick (<< 3.6.0-4+0~20220117.35+debian11~1.gbp149f82~)
Provides: php-imagick
Homepage: http://pecl.php.net/package/imagick
Priority: optional
Section: php
Filename: pool/main/p/php-imagick/php7.2-imagick_3.6.0-4+0~20220117.35+debian11~1.gbp149f82_amd64.deb
Size: 103888
SHA256: 1c47bec28245f390d64e373a0540f30944045c1859312ea5a3364c93a9f24d74
SHA1: 2c2b5ab114b99129a87ee4b91389dddfd6f8b39f
MD5sum: c5d666b144ebbf6e4cc3fd1a38734bd4
Description: Provides a wrapper to the ImageMagick library
Imagick is a native php extension to create and modify images using the
ImageMagick API.
Description-md5: 1b0be74175e2a8655593a6b583950eed