How to Install and Uninstall php7.2-imagick Package on Debian 12 (Bookworm)

Last updated: December 23,2024

1. Install "php7.2-imagick" package

This is a short guide on how to install php7.2-imagick on Debian 12 (Bookworm)

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

2. Uninstall "php7.2-imagick" package

Please follow the steps below to uninstall php7.2-imagick on Debian 12 (Bookworm):

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

3. Information about the php7.2-imagick package on Debian 12 (Bookworm)

Package: php7.2-imagick
Source: php-imagick
Version: 3.7.0-4+0~20231125.43+debian12~1.gbpbf7e27
Architecture: amd64
Maintainer: Debian PHP PECL Maintainers
Installed-Size: 484
Pre-Depends: php-common (>= 2:69~)
Depends: php7.2-common, phpapi-20170718, libc6 (>= 2.33), libgomp1 (>= 9), libmagickcore-6.q16-6 (>= 8:6.9.10.2), libmagickwand-6.q16-6 (>= 8:6.9.10.2)
Recommends: fonts-dejavu-core, ghostscript
Breaks: php-imagick (<< 3.7.0-4+0~20231125.43+debian12~1.gbpbf7e27~)
Replaces: php-imagick (<< 3.7.0-4+0~20231125.43+debian12~1.gbpbf7e27~)
Provides: php-imagick
Homepage: http://pecl.php.net/package/imagick
Priority: optional
Section: php
Filename: pool/main/p/php-imagick/php7.2-imagick_3.7.0-4+0~20231125.43+debian12~1.gbpbf7e27_amd64.deb
Size: 98336
SHA256: 3a81110932d0e05d0c67b04c4dc9397055c0c421a0b8c1c389d6e5d5ff84e07f
SHA1: 1b4316e3f8bd11182eb4897d5518be6952448e2c
MD5sum: d825238d0d97a69753492f554d403179
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