How to Install and Uninstall php-mbstring Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: May 12,2024

1. Install "php-mbstring" package

Please follow the steps below to install php-mbstring on Ubuntu 22.04 LTS (Jammy Jellyfish)

$ 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 22.04 LTS (Jammy Jellyfish):

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

3. Information about the php-mbstring package on Ubuntu 22.04 LTS (Jammy Jellyfish)

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

Package: php-mbstring
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-mbstring
Filename: pool/universe/p/php-defaults/php-mbstring_8.1+92ubuntu1_all.deb
Size: 1844
MD5sum: beeadfd217b4e540ae54ab61b3bef23b
SHA1: cc6cdc26683ea5074f7b2ac23d55a50d4248c49c
SHA256: d4ff2d4ab57bf33ab01fe4904ec731d9a821e29d21ff0f9b22f6c51897122520
SHA512: 8f084366778d1b52b25560470c5b0171a10eff29b2ca6a2522ebe2669f681f34be625f0b67675eecfc52460145d2d10b47482019483e501314463c9e13418bc2
Description: MBSTRING module for PHP [default]
Description-md5: 0dcc682bb008642fc199038a361969fd