How to Install and Uninstall php7.2-gmp Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: November 23,2024

1. Install "php7.2-gmp" package

This guide covers the steps necessary to install php7.2-gmp on Ubuntu 18.04 LTS (Bionic Beaver)

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

2. Uninstall "php7.2-gmp" package

Please follow the steps below to uninstall php7.2-gmp on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the php7.2-gmp package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: php7.2-gmp
Source: php7.2
Priority: optional
Section: php
Installed-Size: 96
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.2.34-33+ubuntu18.04.1+deb.sury.org+1
Provides: php-gmp
Depends: php-common (>= 1:81~), ucf, php7.2-common (= 7.2.34-33+ubuntu18.04.1+deb.sury.org+1), libc6 (>= 2.4), libgmp10
Filename: pool/main/p/php7.2/php7.2-gmp_7.2.34-33+ubuntu18.04.1+deb.sury.org+1_amd64.deb
Size: 20184
MD5sum: 3a78c89ed920ced734d945241894713d
SHA1: ab72feca4d664320cbe4c3ecb4ed66abbbe13adf
SHA256: 4fb0c0518072a6e33dea067caed9a38da85decf3273a74f806a0fca61229001b
Description: GMP module for PHP
Description-md5: c27167ffbd0137d52448a66a0373d465

Package: php7.2-gmp
Architecture: amd64
Version: 7.2.24-0ubuntu0.18.04.13
Priority: optional
Section: php
Source: php7.2
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 95
Provides: php-gmp
Depends: php-common (>= 1:35), ucf, php7.2-common (= 7.2.24-0ubuntu0.18.04.13), libc6 (>= 2.4), libgmp10
Filename: pool/main/p/php7.2/php7.2-gmp_7.2.24-0ubuntu0.18.04.13_amd64.deb
Size: 20168
MD5sum: fc74d554f9f39b2bbd83e3f9d28b3ba6
SHA1: 45d68927d0db9fc08c386831b1bba23548c527bb
SHA256: 3d442e49fa13a34ebad583afb12b6271fa9b13bd18356bd0ffff3fcb5c14e6d1
SHA512: 080e9d9e58185031c0b07f3b1ac24c3930a8cede3d3133222aadc427ede6856fbbfebe4737405cfb4fcf718e0729819552627922e24bbc5108c34cd0c22c4a07
Homepage: http://www.php.net/
Description: GMP module for PHP
Description-md5: c27167ffbd0137d52448a66a0373d465
Supported: 5y

Package: php7.2-gmp
Architecture: amd64
Version: 7.2.3-1ubuntu1
Priority: optional
Section: php
Source: php7.2
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 95
Provides: php-gmp
Depends: php-common (>= 1:35), ucf, php7.2-common (= 7.2.3-1ubuntu1), libc6 (>= 2.4), libgmp10
Filename: pool/main/p/php7.2/php7.2-gmp_7.2.3-1ubuntu1_amd64.deb
Size: 20160
MD5sum: 93c423000c4fd6afed7dcde17bcd2a6a
SHA1: 510e1ecb306e0f444bdd8ab386c14d93cd35adf2
SHA256: 183e19b7eba17253665ea4cb166bc11931ba8afb0520b27b6b07108820012af1
Homepage: http://www.php.net/
Description: GMP module for PHP
Description-md5: c27167ffbd0137d52448a66a0373d465
Supported: 5y