How to Install and Uninstall php-gmagick Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: May 20,2024

1. Install "php-gmagick" package

In this section, we are going to explain the necessary steps to install php-gmagick on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install php-gmagick

2. Uninstall "php-gmagick" package

Please follow the guidelines below to uninstall php-gmagick on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the php-gmagick package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: php-gmagick
Priority: optional
Section: php
Installed-Size: 15
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 2.0.6~rc1+1.1.7~rc3-10+ubuntu18.04.1+deb.sury.org+10
Recommends: ghostscript, ttf-dejavu-core
Depends: php8.1-gmagick
Conflicts: php-imagick
Pre-Depends: php-common (>= 2:69~)
Filename: pool/main/p/php-gmagick/php-gmagick_2.0.6~rc1+1.1.7~rc3-10+ubuntu18.04.1+deb.sury.org+10_amd64.deb
Size: 5160
MD5sum: 4bb22322dd76007758aa57a68d5e52dd
SHA1: ffa3e90d4b5c4b2dfccf7d02ca49c0b432c8f0bd
SHA256: 2709f420563e299699e735bfeff495605cfdeafad875c9dc467255bd1ae0c1d0
Description: Provides a wrapper to the GraphicsMagick library
Description-md5: 6e0b329ef11980ff6dbe315294c05bb6

Package: php-gmagick
Architecture: amd64
Version: 2.0.4~rc1+1.1.7~rc3-1build2
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: 296
Provides: php7.2-gmagick
Depends: php-common (>= 1:7.0+33~), phpapi-20170718, libc6 (>= 2.14), libgraphicsmagick-q16-3 (>= 1.3.20)
Recommends: ghostscript, ttf-dejavu-core
Filename: pool/universe/p/php-gmagick/php-gmagick_2.0.4~rc1+1.1.7~rc3-1build2_amd64.deb
Size: 57364
MD5sum: 70c7b332e1c36f1c2e2ca78b825d5859
SHA1: 5f10d9a031c4d1aa53038abb66be5d7df24c18c5
SHA256: 9ffee8b7c551429e852129df6c099b1c8016d1c37e0e92e75392d5917f002beb
Homepage: http://pecl.php.net/package/gmagick
Description: Provides a wrapper to the GraphicsMagick library
Description-md5: 6e0b329ef11980ff6dbe315294c05bb6