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

Last updated: May 19,2024

1. Install "php-bcmath" package

Please follow the guidance below to install php-bcmath on Ubuntu 22.10 (Kinetic Kudu)

$ sudo apt update $ sudo apt install php-bcmath

2. Uninstall "php-bcmath" package

Learn how to uninstall php-bcmath on Ubuntu 22.10 (Kinetic Kudu):

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

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

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