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

Last updated: December 27,2024

1. Install "php7.1-gmp" package

In this section, we are going to explain the necessary steps to install php7.1-gmp on Ubuntu 18.04 LTS (Bionic Beaver)

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

2. Uninstall "php7.1-gmp" package

This is a short guide on how to uninstall php7.1-gmp on Ubuntu 18.04 LTS (Bionic Beaver):

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

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

Package: php7.1-gmp
Source: php7.1
Priority: optional
Section: php
Installed-Size: 100
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.1.33-48+ubuntu18.04.1+deb.sury.org+1
Provides: php-gmp
Depends: php-common (>= 1:81~), ucf, php7.1-common (= 7.1.33-48+ubuntu18.04.1+deb.sury.org+1), libc6 (>= 2.4), libgmp10
Filename: pool/main/p/php7.1/php7.1-gmp_7.1.33-48+ubuntu18.04.1+deb.sury.org+1_amd64.deb
Size: 21324
MD5sum: 3440566545f00aca8b766e0fbe9d35b8
SHA1: 6141f77b800049b1105e9b9496c6aa18816f1700
SHA256: 543947d573c70a5c19ba7d2bd0612cdef234799798b5524dafad85f132bc97fe
Description: GMP module for PHP
Description-md5: c27167ffbd0137d52448a66a0373d465