How to Install and Uninstall php-bcmath Package on Linux Mint 21.3 (Virginia)

Last updated: May 15,2024

1. Install "php-bcmath" package

This guide covers the steps necessary to install php-bcmath on Linux Mint 21.3 (Virginia)

$ sudo apt update $ sudo apt install php-bcmath

2. Uninstall "php-bcmath" package

Please follow the steps below to uninstall php-bcmath on Linux Mint 21.3 (Virginia):

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

3. Information about the php-bcmath package on Linux Mint 21.3 (Virginia)

Package: php-bcmath
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-bcmath
Filename: pool/main/p/php-defaults/php-bcmath_8.3+94+ubuntu22.04.1+deb.sury.org+2_all.deb
Size: 7230
MD5sum: 9853eedb7ec0087f4f814d5b3776ffa5
SHA1: ac8a7f4f519bfd8ae45c4ea56df9a6cf6c33cfd8
SHA256: 7a3ccb4f31691d31e6227f5b2f1fa213ee3c0e9cb664da052bcc5bc23c3a9ae4
Description: Bcmath module for PHP [default]
Description-md5: be9804eec5339801ec5502fd40882cae

Package: php-bcmath
Architecture: all
Version: 2:8.1+92ubuntu1
Priority: optional
Section: universe/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-bcmath
Filename: pool/universe/p/php-defaults/php-bcmath_8.1+92ubuntu1_all.deb
Size: 1834
MD5sum: 1d81b9bf3c6ab27ac1b3ba0952c86428
SHA1: 91678f4de8e9d8fb02ef8ef8c02a989bc3001f73
SHA256: 95c444bc9ab3e925ba8ba319c97a8dec62f2d3df72d37bacfcd0753b453be2e8
SHA512: 2145fdf456e0c8bf5931cd929efb461e21d5813b98091c734fe67b8e7fe6259c5a233b7c0822d13a2ea6097b9709584a70ee9d7ce887c3adf731ec5ca2efa858
Description: Bcmath module for PHP [default]
Description-md5: ec90857a6f235cf77965936c1c3ccd04