How to Install and Uninstall php-imagick Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: July 06,2024

1. Install "php-imagick" package

Please follow the guidelines below to install php-imagick on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install php-imagick

2. Uninstall "php-imagick" package

Please follow the step by step instructions below to uninstall php-imagick on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove php-imagick $ sudo apt autoclean && sudo apt autoremove

3. Information about the php-imagick package on Ubuntu 20.04 LTS (Focal Fossa)

Package: php-imagick
Priority: optional
Section: php
Installed-Size: 23
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 3.7.0-4+ubuntu20.04.1+deb.sury.org+2
Recommends: fonts-dejavu-core, ghostscript
Depends: php8.3-imagick
Pre-Depends: php-common (>= 2:69~)
Filename: pool/main/p/php-imagick/php-imagick_3.7.0-4+ubuntu20.04.1+deb.sury.org+2_amd64.deb
Size: 12652
MD5sum: 81ed5cb5fa4cba23436de807fd0ced64
SHA1: 109577872684886e2910e3b2510f3c5d54d2742e
SHA256: 305981f13528e3362b3c32ef722e0ca8eceb63799ceaae91e1d927555c88f1c3
Description: Provides a wrapper to the ImageMagick library
Description-md5: 1b0be74175e2a8655593a6b583950eed

Package: php-imagick
Architecture: amd64
Version: 3.4.4-4
Priority: optional
Section: universe/php
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP PECL Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 494
Provides: php7.4-imagick
Pre-Depends: php-common (>= 2:69~)
Depends: phpapi-20190902, libc6 (>= 2.14), libmagickcore-6.q16-6 (>= 8:6.9.10.2), libmagickwand-6.q16-6 (>= 8:6.9.10.2)
Recommends: ghostscript, ttf-dejavu-core
Filename: pool/universe/p/php-imagick/php-imagick_3.4.4-4_amd64.deb
Size: 97324
MD5sum: f24900b247217f584cd6c7ce6dc10c93
SHA1: 1a88fb0f57206736d0830b1217293b3482e2ff02
SHA256: 0b5d2b266357ace0154224e9de3edd99654186798366ccb6ae967052d53977bb
Homepage: http://pecl.php.net/package/imagick
Description: Provides a wrapper to the ImageMagick library
Description-md5: bc43e2599d98ae7eb5833a5ff7056545