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

Last updated: November 23,2024

1. Install "php7.1-gmp" package

This guide covers the steps necessary to install php7.1-gmp on Ubuntu 20.04 LTS (Focal Fossa)

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

2. Uninstall "php7.1-gmp" package

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

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

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

Package: php7.1-gmp
Source: php7.1
Priority: optional
Section: php
Installed-Size: 108
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.1.33-56+ubuntu20.04.1+deb.sury.org+1
Provides: php-gmp
Depends: php-common (>= 1:81~), ucf, php7.1-common (= 7.1.33-56+ubuntu20.04.1+deb.sury.org+1), libc6 (>= 2.4), libgmp10
Filename: pool/main/p/php7.1/php7.1-gmp_7.1.33-56+ubuntu20.04.1+deb.sury.org+1_amd64.deb
Size: 21896
MD5sum: 5ea8e701eb000cdcaadbf3bab6c15a1f
SHA1: 73308007e4f5dea52352378dac45118c3ff0daef
SHA256: de0dbed8577d5f9b93897445869b6ff6c48d1df4012c31ebf44d48dd62a7b8d8
Description: GMP module for PHP
Description-md5: c27167ffbd0137d52448a66a0373d465