How to Install and Uninstall php-gmp Package on Ubuntu 18.04 LTS (Bionic Beaver)
Last updated: November 26,2024
1. Install "php-gmp" package
In this section, we are going to explain the necessary steps to install php-gmp on Ubuntu 18.04 LTS (Bionic Beaver)
$
sudo apt update
Copied
$
sudo apt install
php-gmp
Copied
2. Uninstall "php-gmp" package
Please follow the guidance below to uninstall php-gmp on Ubuntu 18.04 LTS (Bionic Beaver):
$
sudo apt remove
php-gmp
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the php-gmp package on Ubuntu 18.04 LTS (Bionic Beaver)
Package: php-gmp
Source: php-defaults (92+ubuntu18.04.1+deb.sury.org+2)
Priority: optional
Section: php
Installed-Size: 14
Maintainer: Debian PHP Maintainers
Architecture: all
Version: 2:8.1+92+ubuntu18.04.1+deb.sury.org+2
Depends: php-common, php8.1-gmp
Filename: pool/main/p/php-defaults/php-gmp_8.1+92+ubuntu18.04.1+deb.sury.org+2_all.deb
Size: 7284
MD5sum: e34ebf493e69437ccaff90bb77c399e7
SHA1: 0f488fe49095abdc46d7e1bce9cfaa678e4071bd
SHA256: b5c9b55ab0cb8c3a7a978e81fbc52a879de8d5b10b164e9f5f74afcd41b70098
Description: GMP module for PHP [default]
Description-md5: 9f4254a530c5d06719728541f7529c74
Package: php-gmp
Architecture: all
Version: 1:7.2+60ubuntu1
Priority: optional
Section: php
Source: php-defaults (60ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 12
Depends: php-common, php7.2-gmp
Filename: pool/main/p/php-defaults/php-gmp_7.2+60ubuntu1_all.deb
Size: 1996
MD5sum: 51eedc582ca398dad13124f6a71f728a
SHA1: a2fa2985fce9efe9514ff2b39c681d4582681ded
SHA256: d964d0c301a0919b955c1f0ef41695a06dc5c41c42a38e3549309913d3f2a7cf
Description: GMP module for PHP [default]
Description-md5: 4348910e2701b9f6a4fb8433a3d0764e
Supported: 5y
Source: php-defaults (92+ubuntu18.04.1+deb.sury.org+2)
Priority: optional
Section: php
Installed-Size: 14
Maintainer: Debian PHP Maintainers
Architecture: all
Version: 2:8.1+92+ubuntu18.04.1+deb.sury.org+2
Depends: php-common, php8.1-gmp
Filename: pool/main/p/php-defaults/php-gmp_8.1+92+ubuntu18.04.1+deb.sury.org+2_all.deb
Size: 7284
MD5sum: e34ebf493e69437ccaff90bb77c399e7
SHA1: 0f488fe49095abdc46d7e1bce9cfaa678e4071bd
SHA256: b5c9b55ab0cb8c3a7a978e81fbc52a879de8d5b10b164e9f5f74afcd41b70098
Description: GMP module for PHP [default]
Description-md5: 9f4254a530c5d06719728541f7529c74
Package: php-gmp
Architecture: all
Version: 1:7.2+60ubuntu1
Priority: optional
Section: php
Source: php-defaults (60ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 12
Depends: php-common, php7.2-gmp
Filename: pool/main/p/php-defaults/php-gmp_7.2+60ubuntu1_all.deb
Size: 1996
MD5sum: 51eedc582ca398dad13124f6a71f728a
SHA1: a2fa2985fce9efe9514ff2b39c681d4582681ded
SHA256: d964d0c301a0919b955c1f0ef41695a06dc5c41c42a38e3549309913d3f2a7cf
Description: GMP module for PHP [default]
Description-md5: 4348910e2701b9f6a4fb8433a3d0764e
Supported: 5y