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

Last updated: July 06,2024

1. Install "php8.1-gmp" package

This tutorial shows how to install php8.1-gmp on Ubuntu 18.04 LTS (Bionic Beaver)

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

2. Uninstall "php8.1-gmp" package

Please follow the step by step instructions below to uninstall php8.1-gmp on Ubuntu 18.04 LTS (Bionic Beaver):

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

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

Package: php8.1-gmp
Source: php8.1
Priority: optional
Section: php
Installed-Size: 104
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 8.1.9-1+ubuntu18.04.1+deb.sury.org+1
Provides: php-gmp
Depends: php-common (>= 1:81~), ucf, php8.1-common (= 8.1.9-1+ubuntu18.04.1+deb.sury.org+1), libc6 (>= 2.4), libgmp10
Filename: pool/main/p/php8.1/php8.1-gmp_8.1.9-1+ubuntu18.04.1+deb.sury.org+1_amd64.deb
Size: 21972
MD5sum: f65824ad3dd27a81772c264d5e9e356d
SHA1: 73c728d6f5893be872d8cb4d213aa3323e250397
SHA256: e9b6c7fdf9b0fbe480f28053a21a2f8d2a9e22915235105831c7825c23ef0124
Description: GMP module for PHP
Description-md5: c27167ffbd0137d52448a66a0373d465