How to Install and Uninstall php-gmp Package on Debian 12 (Bookworm)

Last updated: May 08,2024

1. Install "php-gmp" package

Please follow the steps below to install php-gmp on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install php-gmp

2. Uninstall "php-gmp" package

In this section, we are going to explain the necessary steps to uninstall php-gmp on Debian 12 (Bookworm):

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

3. Information about the php-gmp package on Debian 12 (Bookworm)

Package: php-gmp
Source: php-defaults (94+0~20240205.51+debian12~1.gbp6faa2e)
Version: 2:8.3+94+0~20240205.51+debian12~1.gbp6faa2e
Architecture: all
Maintainer: Debian PHP Maintainers
Installed-Size: 10
Depends: php-common, php8.3-gmp
Priority: optional
Section: php
Filename: pool/main/p/php-defaults/php-gmp_8.3+94+0~20240205.51+debian12~1.gbp6faa2e_all.deb
Size: 3864
SHA256: efce0aadf0a49e1f8b681896ca88a5e633fb617b2546aef6a0ac4729bde613d0
SHA1: 82785629db65d0444ac0d70cf319fecc57421cf9
MD5sum: 8b29706e545de8fd7ecce8ffd4bfc759
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.3).
Description-md5: 4424fb065faa7467f18d298d3683b934

Package: php-gmp
Source: php-defaults (93)
Version: 2:8.2+93
Installed-Size: 10
Maintainer: Debian PHP Maintainers
Architecture: all
Depends: php-common, php8.2-gmp
Description: GMP module for PHP [default]
Description-md5: 16c787f92ff4342fb24c946660b38510
Section: php
Priority: optional
Filename: pool/main/p/php-defaults/php-gmp_8.2+93_all.deb
Size: 3652
MD5sum: 5a091656b91d923786255343fd5028a1
SHA256: d12e59daffbd9552d444258ca05cecc77e42e8a99c1f18ef91ba740b4a7936d8