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

Last updated: May 03,2024

1. Install "php-xdebug" package

Please follow the guidance below to install php-xdebug on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install php-xdebug

2. Uninstall "php-xdebug" package

In this section, we are going to explain the necessary steps to uninstall php-xdebug on Debian 11 (Bullseye):

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

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

Package: php-xdebug
Source: xdebug
Version: 3.1.5+2.9.8+2.8.1+2.5.5-1+0~20220625.46+debian11~1.gbp6966da
Architecture: amd64
Maintainer: Debian PHP PECL Maintainers
Installed-Size: 18
Pre-Depends: php-common (>= 2:69~)
Depends: ucf, php8.1-xdebug
Homepage: https://xdebug.org/
Priority: optional
Section: php
Filename: pool/main/x/xdebug/php-xdebug_3.1.5+2.9.8+2.8.1+2.5.5-1+0~20220625.46+debian11~1.gbp6966da_amd64.deb
Size: 7440
SHA256: a10456728c0ea2f194019e0c1c74157e46a78081a6adf1bc39d45396e801ac8c
SHA1: 6ef89078287e16ced797ae0660e59c9041cbaed0
MD5sum: a91ebb3c7518581b354bc021c0f10be2
Description: Xdebug Module for PHP
Description-md5: 0f0798e7431f8c626ceea9d500b3e977

Package: php-xdebug
Source: xdebug
Version: 3.0.2+2.9.8+2.8.1+2.5.5-2
Installed-Size: 1944
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Provides: php7.4-xdebug
Depends: ucf, phpapi-20190902, libc6 (>= 2.29)
Pre-Depends: php-common (>= 2:69~)
Description: Xdebug Module for PHP
Description-md5: 0f0798e7431f8c626ceea9d500b3e977
Homepage: https://xdebug.org/
Section: php
Priority: optional
Filename: pool/main/x/xdebug/php-xdebug_3.0.2+2.9.8+2.8.1+2.5.5-2_amd64.deb
Size: 514868
MD5sum: 2592dfc92b0aeff55826db46500c2406
SHA256: f54dfd3f58afa7ffe127d7acfd4ec2a2e5c284f1f1315035c65f8d993ebd38ab