How to Install and Uninstall php-mbstring Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: November 26,2024

1. Install "php-mbstring" package

This tutorial shows how to install php-mbstring on Ubuntu 20.04 LTS (Focal Fossa)

$ 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 Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the php-mbstring package on Ubuntu 20.04 LTS (Focal Fossa)

Package: php-mbstring
Source: php-defaults (94+ubuntu20.04.1+deb.sury.org+2)
Priority: optional
Section: php
Installed-Size: 14
Maintainer: Debian PHP Maintainers
Architecture: all
Version: 2:8.3+94+ubuntu20.04.1+deb.sury.org+2
Depends: php-common, php8.3-mbstring
Filename: pool/main/p/php-defaults/php-mbstring_8.3+94+ubuntu20.04.1+deb.sury.org+2_all.deb
Size: 7344
MD5sum: 84660e3eff6035e0c3355fe2062e5e42
SHA1: 043e87ea5747ee4d781e94cc75597893a98e8027
SHA256: 8f21d9da11cada260b8520ccfc7543c6afaf1a04908125ffdf5485f6251991a0
Description: MBSTRING module for PHP [default]
Description-md5: 38ac9015c0f48f7288eae5a8a3e7d270

Package: php-mbstring
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-mbstring
Filename: pool/universe/p/php-defaults/php-mbstring_7.4+75_all.deb
Size: 2012
MD5sum: ebd1e4c546c3343c51c229f56192d270
SHA1: 5d768d3ce7e8ae37f0f0a841bf125f755ec851cc
SHA256: ef5f5eb793592cc8616bf6ca415ed7d095b7e5ce6595fd8a2e0afdcfcf3c238a
Description: MBSTRING module for PHP [default]
Description-md5: 1841d6c8e5e83675f0623ae12b756076