How to Install and Uninstall php-mbstring Package on Debian 11 (Bullseye)

Last updated: December 23,2024

1. Install "php-mbstring" package

This tutorial shows how to install php-mbstring on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install php-mbstring

2. Uninstall "php-mbstring" package

Please follow the step by step instructions below to uninstall php-mbstring on Debian 11 (Bullseye):

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

3. Information about the php-mbstring package on Debian 11 (Bullseye)

Package: php-mbstring
Source: php-defaults (92+0~20220117.43+debian11~1.gbpe0d14e)
Version: 2:8.1+92+0~20220117.43+debian11~1.gbpe0d14e
Architecture: all
Maintainer: Debian PHP Maintainers
Installed-Size: 14
Depends: php-common, php8.1-mbstring
Priority: optional
Section: php
Filename: pool/main/p/php-defaults/php-mbstring_8.1+92+0~20220117.43+debian11~1.gbpe0d14e_all.deb
Size: 7428
SHA256: 4669ed07de537bc54eededae8e7c97a332cdbbed7ce32695c069a4f9bca627ff
SHA1: 48bb5b851a78de24672140519d30e39b0e410655
MD5sum: 187261bfa4d8e9166e3bab0cc5e624a4
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.1).
Description-md5: 0dcc682bb008642fc199038a361969fd

Package: php-mbstring
Source: php-defaults (76)
Version: 2:7.4+76
Installed-Size: 13
Maintainer: Debian PHP Maintainers
Architecture: all
Depends: php-common, php7.4-mbstring
Description: MBSTRING module for PHP [default]
Description-md5: 1841d6c8e5e83675f0623ae12b756076
Section: php
Priority: optional
Filename: pool/main/p/php-defaults/php-mbstring_7.4+76_all.deb
Size: 6372
MD5sum: b39cfbd1b2c73ddc6a85dd98b38a15d8
SHA256: f1d4a41ae618d6ce3ee6b89cf263060ca3e00209e1db6f451b3585aa522c9d2d