How to Install and Uninstall php-gmp Package on Linux Mint 21 (Vanessa)

Last updated: December 30,2024

1. Install "php-gmp" package

Please follow the step by step instructions below to install php-gmp on Linux Mint 21 (Vanessa)

$ sudo apt update $ sudo apt install php-gmp

2. Uninstall "php-gmp" package

This guide covers the steps necessary to uninstall php-gmp on Linux Mint 21 (Vanessa):

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

3. Information about the php-gmp package on Linux Mint 21 (Vanessa)

Package: php-gmp
Source: php-defaults (94+ubuntu22.04.1+deb.sury.org+2)
Priority: optional
Section: php
Installed-Size: 14
Maintainer: Debian PHP Maintainers
Architecture: all
Version: 2:8.3+94+ubuntu22.04.1+deb.sury.org+2
Depends: php-common, php8.3-gmp
Filename: pool/main/p/php-defaults/php-gmp_8.3+94+ubuntu22.04.1+deb.sury.org+2_all.deb
Size: 7218
MD5sum: 62e8fbc1e63bc395a4680deadf53b6e0
SHA1: da322a929231593e7a80ac57ab9e972cd43a8651
SHA256: 590c11bdb1578913e2c3b7be9f786b71397579cd5da20b6f9d4a7bb38f4241b2
Description: GMP module for PHP [default]
Description-md5: 4424fb065faa7467f18d298d3683b934

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