How to Install and Uninstall php-bcmath Package on Debian 12 (Bookworm)

Last updated: May 19,2024

1. Install "php-bcmath" package

Please follow the guidance below to install php-bcmath on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install php-bcmath

2. Uninstall "php-bcmath" package

Please follow the guidance below to uninstall php-bcmath on Debian 12 (Bookworm):

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

3. Information about the php-bcmath package on Debian 12 (Bookworm)

Package: php-bcmath
Source: php-defaults (94+0~20240205.51+debian12~1.gbp6faa2e)
Version: 2:8.3+94+0~20240205.51+debian12~1.gbp6faa2e
Architecture: all
Maintainer: Debian PHP Maintainers
Installed-Size: 10
Depends: php-common, php8.3-bcmath
Priority: optional
Section: php
Filename: pool/main/p/php-defaults/php-bcmath_8.3+94+0~20240205.51+debian12~1.gbp6faa2e_all.deb
Size: 3864
SHA256: 65895a15a5ddc4f8464ac783e213e3a41cb4e5e8c1fadc9745b751000156035e
SHA1: 9a6334b8d5cf1ba2b0c44bc28b557ed616ade933
MD5sum: 03756ce771cce810d046c09bbb054be0
Description: Bcmath module for PHP [default]
This package provides a Bcmath module for PHP.
.
PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used
open source general-purpose scripting language that is especially suited
for web development and can be embedded into HTML.
.
This package is a dependency package, which depends on Debian's default
PHP version (currently 8.3).
Description-md5: be9804eec5339801ec5502fd40882cae

Package: php-bcmath
Source: php-defaults (93)
Version: 2:8.2+93
Installed-Size: 10
Maintainer: Debian PHP Maintainers
Architecture: all
Depends: php-common, php8.2-bcmath
Description: Bcmath module for PHP [default]
Description-md5: b47bf172b271c1ba5beefb73f2f1d2aa
Section: php
Priority: optional
Filename: pool/main/p/php-defaults/php-bcmath_8.2+93_all.deb
Size: 3664
MD5sum: ee2a95ca83df170b274b98a254f44ad1
SHA256: 6465aa98d2217358d5e60f2d44643144a2cf6308ab8202419a5147f9dc2e88a3