How to Install and Uninstall php-gmp Package on Ubuntu 24.04 LTS (Noble Numbat)
Last updated: January 12,2025
1. Install "php-gmp" package
This tutorial shows how to install php-gmp on Ubuntu 24.04 LTS (Noble Numbat)
$
sudo apt update
Copied
$
sudo apt install
php-gmp
Copied
2. Uninstall "php-gmp" package
Here is a brief guide to show you how to uninstall php-gmp on Ubuntu 24.04 LTS (Noble Numbat):
$
sudo apt remove
php-gmp
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the php-gmp package on Ubuntu 24.04 LTS (Noble Numbat)
Package: php-gmp
Architecture: all
Version: 2:8.3+93ubuntu2
Priority: optional
Section: php
Source: php-defaults (93ubuntu2)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 11
Depends: php-common, php8.3-gmp
Filename: pool/main/p/php-defaults/php-gmp_8.3+93ubuntu2_all.deb
Size: 1834
MD5sum: 61ea8c1ce9aa2dc6f7a50d48a36a1da5
SHA1: a9b8b8e54a45a12c2bb07bd6b349b9956800cf64
SHA256: 7f8cea824ec532d404084b0629260a4c4353b209701e58f4f6062e4f34e14dc7
SHA512: 2e7ada991ee9a8aac0bfd851adbf73f495f8aba7e3925e3e6293d5755df8c8242e45f52e2e5877460c222eef0b3aee4df113c423bbcbc1dcf5b6939805007b6f
Description: GMP module for PHP [default]
Description-md5: 4424fb065faa7467f18d298d3683b934
Architecture: all
Version: 2:8.3+93ubuntu2
Priority: optional
Section: php
Source: php-defaults (93ubuntu2)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 11
Depends: php-common, php8.3-gmp
Filename: pool/main/p/php-defaults/php-gmp_8.3+93ubuntu2_all.deb
Size: 1834
MD5sum: 61ea8c1ce9aa2dc6f7a50d48a36a1da5
SHA1: a9b8b8e54a45a12c2bb07bd6b349b9956800cf64
SHA256: 7f8cea824ec532d404084b0629260a4c4353b209701e58f4f6062e4f34e14dc7
SHA512: 2e7ada991ee9a8aac0bfd851adbf73f495f8aba7e3925e3e6293d5755df8c8242e45f52e2e5877460c222eef0b3aee4df113c423bbcbc1dcf5b6939805007b6f
Description: GMP module for PHP [default]
Description-md5: 4424fb065faa7467f18d298d3683b934