How to Install and Uninstall php7.2-gmp Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: July 05,2024

1. Install "php7.2-gmp" package

Please follow the instructions below to install php7.2-gmp on Ubuntu 20.04 LTS (Focal Fossa)

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

2. Uninstall "php7.2-gmp" package

This is a short guide on how to uninstall php7.2-gmp on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the php7.2-gmp package on Ubuntu 20.04 LTS (Focal Fossa)

Package: php7.2-gmp
Source: php7.2
Priority: optional
Section: php
Installed-Size: 104
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.2.34-43+ubuntu20.04.1+deb.sury.org+1
Provides: php-gmp
Depends: php-common (>= 1:81~), ucf, php7.2-common (= 7.2.34-43+ubuntu20.04.1+deb.sury.org+1), libc6 (>= 2.4), libgmp10
Filename: pool/main/p/php7.2/php7.2-gmp_7.2.34-43+ubuntu20.04.1+deb.sury.org+1_amd64.deb
Size: 20920
MD5sum: b99edd9eec6d9aa8aa3888ac3bd973a6
SHA1: dac36cc110b85f728163d0e183b8206d6f5de482
SHA256: a2f58ba309fd2b8dcb1e2a3a2a325f7708433f42d8da5557c44eff0037f3cff2
Description: GMP module for PHP
Description-md5: c27167ffbd0137d52448a66a0373d465