How to Install and Uninstall php-gmp Package on Ubuntu 22.10 (Kinetic Kudu)

Last updated: May 18,2024

1. Install "php-gmp" package

This is a short guide on how to install php-gmp on Ubuntu 22.10 (Kinetic Kudu)

$ sudo apt update $ sudo apt install php-gmp

2. Uninstall "php-gmp" package

This guide covers the steps necessary to uninstall php-gmp on Ubuntu 22.10 (Kinetic Kudu):

$ sudo apt remove php-gmp $ sudo apt autoclean && sudo apt autoremove

3. Information about the php-gmp package on Ubuntu 22.10 (Kinetic Kudu)

Package: php-gmp
Architecture: all
Version: 2:8.1+92ubuntu1
Priority: optional
Section: php
Source: php-defaults (92ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 14
Depends: php-common, php8.1-gmp
Filename: pool/main/p/php-defaults/php-gmp_8.1+92ubuntu1_all.deb
Size: 1828
MD5sum: c7ed46ac298d19a04b335e498689c573
SHA1: fd11fb42a02026cf081dbd58cc1a3c099ebead9d
SHA256: ffafcf188a8cfa6c14cf4fc74ed38a6ab6d899324f60d028dfd795085993d840
SHA512: 26cd99609456d49e49a182ebbdccedeb35f876006a19f551c05a85db41de0669fd4387fa42d29dbaff9a84b1057c1a06fe13629ad1c39680c0be6fc7c222c27a
Description: GMP module for PHP [default]
Description-md5: 9f4254a530c5d06719728541f7529c74