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

Last updated: July 03,2024

1. Install "php7.0-gmp" package

Learn how to install php7.0-gmp on Ubuntu 20.04 LTS (Focal Fossa)

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

2. Uninstall "php7.0-gmp" package

Please follow the instructions below to uninstall php7.0-gmp on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: php7.0-gmp
Source: php7.0
Priority: optional
Section: php
Installed-Size: 112
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.0.33-68+ubuntu20.04.1+deb.sury.org+2
Provides: php-gmp
Depends: php-common (>= 1:81~), ucf, php7.0-common (= 7.0.33-68+ubuntu20.04.1+deb.sury.org+2), libc6 (>= 2.4), libgmp10
Filename: pool/main/p/php7.0/php7.0-gmp_7.0.33-68+ubuntu20.04.1+deb.sury.org+2_amd64.deb
Size: 22128
MD5sum: dc69c99bbd0852ffcd8afed7d7767093
SHA1: ebd94001e8e0203498b954862de4299005159f5c
SHA256: 0988927ca7d451698376d34fa0bcac6eed912aefd089e92d9b17d2687dbe8780
Description: GMP module for PHP
Description-md5: c27167ffbd0137d52448a66a0373d465