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

Last updated: February 02,2025

1. Install "php8.1-gmp" package

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

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

2. Uninstall "php8.1-gmp" package

Learn how to uninstall php8.1-gmp on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: php8.1-gmp
Source: php8.1
Priority: optional
Section: php
Installed-Size: 112
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 8.1.27-1+ubuntu20.04.1+deb.sury.org+1
Provides: php-gmp
Depends: php-common (>= 1:81~), ucf, php8.1-common (= 8.1.27-1+ubuntu20.04.1+deb.sury.org+1), libc6 (>= 2.4), libgmp10
Filename: pool/main/p/php8.1/php8.1-gmp_8.1.27-1+ubuntu20.04.1+deb.sury.org+1_amd64.deb
Size: 22816
MD5sum: 0e788b153a0ed6a7f7df9d271cb74293
SHA1: 1be9e1fd8a99057fba1c50eb5644cc44f5012dd2
SHA256: 0b488e3c534c3de2fcfc1f71da39b4fffb58943d3a15bff05d31d32a5fa9c48e
Description: GMP module for PHP
Description-md5: c27167ffbd0137d52448a66a0373d465