How to Install and Uninstall php-bcmath Package on Linux Mint 20.3 (Una)

Last updated: May 20,2024

1. Install "php-bcmath" package

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

$ sudo apt update $ sudo apt install php-bcmath

2. Uninstall "php-bcmath" package

Please follow the guidance below to uninstall php-bcmath on Linux Mint 20.3 (Una):

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

3. Information about the php-bcmath package on Linux Mint 20.3 (Una)

Package: php-bcmath
Source: php-defaults (92+ubuntu20.04.1+deb.sury.org+2)
Priority: optional
Section: php
Installed-Size: 14
Maintainer: Debian PHP Maintainers
Architecture: all
Version: 2:8.1+92+ubuntu20.04.1+deb.sury.org+2
Depends: php-common, php8.1-bcmath
Filename: pool/main/p/php-defaults/php-bcmath_8.1+92+ubuntu20.04.1+deb.sury.org+2_all.deb
Size: 7296
MD5sum: 971487eabae76083447501282cf4ec1e
SHA1: 773d11edddc022b304fd18fc1beb50fd46fa4e5f
SHA256: 34a6ad7573a2e5fa5f1b078a7729458b0fcbc6492ac10a9569dd5bbe7ee61077
Description: Bcmath module for PHP [default]
Description-md5: ec90857a6f235cf77965936c1c3ccd04

Package: php-bcmath
Architecture: all
Version: 2:7.4+75
Priority: optional
Section: universe/php
Source: php-defaults (75)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 13
Depends: php-common, php7.4-bcmath
Filename: pool/universe/p/php-defaults/php-bcmath_7.4+75_all.deb
Size: 2004
MD5sum: 5054e65e20dbf5cf3d9ba421d0d2777a
SHA1: 7f96ea0fbd0b42d4555d9eebd0829f5271261e56
SHA256: 5807629a575c13c0987e39dce6a5fb1f80fc9a9da6936f67849c446117654218
Description: Bcmath module for PHP [default]
Description-md5: 0ee8ca4762871418ec03da8b9c9df916