How to Install and Uninstall php-mbstring Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: December 23,2024

1. Install "php-mbstring" package

Please follow the guidance below to install php-mbstring on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install php-mbstring

2. Uninstall "php-mbstring" package

Please follow the guidelines below to uninstall php-mbstring on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the php-mbstring package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: php-mbstring
Source: php-defaults (92+ubuntu18.04.1+deb.sury.org+2)
Priority: optional
Section: php
Installed-Size: 14
Maintainer: Debian PHP Maintainers
Architecture: all
Version: 2:8.1+92+ubuntu18.04.1+deb.sury.org+2
Depends: php-common, php8.1-mbstring
Filename: pool/main/p/php-defaults/php-mbstring_8.1+92+ubuntu18.04.1+deb.sury.org+2_all.deb
Size: 7288
MD5sum: 574801d6b895ec9cfad622f84468505e
SHA1: 0d0ff18061a037ad3069f8e696355ab52330788f
SHA256: c7bcacf57587c3668e50f6b9426f5654b5c17214f4cd0cf4624c54908ab7a502
Description: MBSTRING module for PHP [default]
Description-md5: 0dcc682bb008642fc199038a361969fd

Package: php-mbstring
Architecture: all
Version: 1:7.2+60ubuntu1
Priority: optional
Section: universe/php
Source: php-defaults (60ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 12
Depends: php-common, php7.2-mbstring
Filename: pool/universe/p/php-defaults/php-mbstring_7.2+60ubuntu1_all.deb
Size: 2008
MD5sum: bbd5c4f844f948283772a4879e547f8b
SHA1: 76a1fb0e45dbae1e12dead951d044f11a6f1a586
SHA256: a404035059f56732939b00a32dd390722ac27fc4c34b68ced277a497f094ad50
Description: MBSTRING module for PHP [default]
Description-md5: 4fcb25e3071539f8aeabbd83b9463c1a