How to Install and Uninstall php-gmp Package on Debian 11 (Bullseye)

Last updated: May 15,2024

1. Install "php-gmp" package

Please follow the guidance below to install php-gmp on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install php-gmp

2. Uninstall "php-gmp" package

Please follow the step by step instructions below to uninstall php-gmp on Debian 11 (Bullseye):

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

3. Information about the php-gmp package on Debian 11 (Bullseye)

Package: php-gmp
Source: php-defaults (92+0~20220117.43+debian11~1.gbpe0d14e)
Version: 2:8.1+92+0~20220117.43+debian11~1.gbpe0d14e
Architecture: all
Maintainer: Debian PHP Maintainers
Installed-Size: 14
Depends: php-common, php8.1-gmp
Priority: optional
Section: php
Filename: pool/main/p/php-defaults/php-gmp_8.1+92+0~20220117.43+debian11~1.gbpe0d14e_all.deb
Size: 7424
SHA256: 691b67663fe1243235d44c622f2fc60d1f0fbaafab0272a67c8a2c2d0fa881a4
SHA1: 3899bea0db47f77a3ea7822253e09b74ce1dc07d
MD5sum: f038076f5aec2e2dbd47fbc6a9a59ced
Description: GMP module for PHP [default]
This package provides a GMP module for PHP.
.
PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used
open source general-purpose scripting language that is especially suited
for web development and can be embedded into HTML.
.
This package is a dependency package, which depends on Debian's default
PHP version (currently 8.1).
Description-md5: 9f4254a530c5d06719728541f7529c74

Package: php-gmp
Source: php-defaults (76)
Version: 2:7.4+76
Installed-Size: 13
Maintainer: Debian PHP Maintainers
Architecture: all
Depends: php-common, php7.4-gmp
Description: GMP module for PHP [default]
Description-md5: 8d56067bb325fdad135546b39d332500
Section: php
Priority: optional
Filename: pool/main/p/php-defaults/php-gmp_7.4+76_all.deb
Size: 6360
MD5sum: e5d60ed7ae185304e13db8198d31d7e3
SHA256: 06785125a114baa23d7a24935b09ee2f13af389a18d4cd32838fde37ea5a4283