How to Install and Uninstall php8.1-bcmath Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: November 15,2024

1. Install "php8.1-bcmath" package

Here is a brief guide to show you how to install php8.1-bcmath on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install php8.1-bcmath

2. Uninstall "php8.1-bcmath" package

Please follow the steps below to uninstall php8.1-bcmath on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove php8.1-bcmath $ sudo apt autoclean && sudo apt autoremove

3. Information about the php8.1-bcmath package on Ubuntu 20.04 LTS (Focal Fossa)

Package: php8.1-bcmath
Source: php8.1
Priority: optional
Section: php
Installed-Size: 68
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 8.1.27-1+ubuntu20.04.1+deb.sury.org+1
Provides: php-bcmath
Depends: php-common (>= 1:81~), ucf, php8.1-common (= 8.1.27-1+ubuntu20.04.1+deb.sury.org+1), libc6 (>= 2.14)
Filename: pool/main/p/php8.1/php8.1-bcmath_8.1.27-1+ubuntu20.04.1+deb.sury.org+1_amd64.deb
Size: 15516
MD5sum: 7771c45669687c0164c87f5cf59db0a0
SHA1: 1d4f361db463d4cc5995eb2cd93e9e9c10ad8968
SHA256: 6f153ebcc9f29e640e90388dbc2c971458f35456823ac55266aa286174332db6
Description: Bcmath module for PHP
Description-md5: 8f9f425714b203a9b7d1f3678f64c107