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

Last updated: May 18,2024

1. Install "php-mbstring" package

Please follow the guidelines below to install php-mbstring on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install php-mbstring

2. Uninstall "php-mbstring" package

This is a short guide on how to uninstall php-mbstring on Debian 12 (Bookworm):

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

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

Package: php-mbstring
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-mbstring
Priority: optional
Section: php
Filename: pool/main/p/php-defaults/php-mbstring_8.3+94+0~20240205.51+debian12~1.gbp6faa2e_all.deb
Size: 3872
SHA256: 2a3274bc64e81db1ae434277f662b58dac5aaaea43b1a10f185219520336e156
SHA1: fca10e95a6b6e6655140fc6b6a5a0105d3364e16
MD5sum: de539b977bdc3c6d3b64f7d04ece18ff
Description: MBSTRING module for PHP [default]
This package provides a MBSTRING 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: 38ac9015c0f48f7288eae5a8a3e7d270

Package: php-mbstring
Source: php-defaults (93)
Version: 2:8.2+93
Installed-Size: 10
Maintainer: Debian PHP Maintainers
Architecture: all
Depends: php-common, php8.2-mbstring
Description: MBSTRING module for PHP [default]
Description-md5: e9d493aa3271b9d1485a189de78dae91
Section: php
Priority: optional
Filename: pool/main/p/php-defaults/php-mbstring_8.2+93_all.deb
Size: 3664
MD5sum: f2c35045338a50b1a3c5310eee68f217
SHA256: 64408c0f6d8b90e9ff8c1857e72d87669747bac16c93e216924ab1a528815fe4