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

Last updated: December 23,2024

1. Install "php-bz2" package

Here is a brief guide to show you how to install php-bz2 on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install php-bz2

2. Uninstall "php-bz2" package

This tutorial shows how to uninstall php-bz2 on Ubuntu 18.04 LTS (Bionic Beaver):

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

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

Package: php-bz2
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-bz2
Filename: pool/main/p/php-defaults/php-bz2_8.1+92+ubuntu18.04.1+deb.sury.org+2_all.deb
Size: 7288
MD5sum: 9cdd363be183be1119eb648ec34726e8
SHA1: 13536ea764b401c5a3e607de9d54255d1d150b02
SHA256: 8fc445995c9143f69688888a5c9fa20a48d8c55303e2b185b3ee9294c3fef304
Description: bzip2 module for PHP [default]
Description-md5: 4a7d1d3b7b8422e976d30dfcaebfd08a

Package: php-bz2
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-bz2
Filename: pool/universe/p/php-defaults/php-bz2_7.2+60ubuntu1_all.deb
Size: 2004
MD5sum: dae58c80d43f60ff40399079e836bb0d
SHA1: a13d2f5fc47edb3e6a7f676f02ca2a2bfde9a72d
SHA256: b1b71397a83b09d465c9ed5f222ec8b3676eaf1708edbb474d28bbad30566f31
Description: bzip2 module for PHP [default]
Description-md5: 8475cc8105e0b00ad12f9bd0cdd5f254