How to Install and Uninstall php-xdebug Package on Debian 10 (Buster)

Last updated: May 16,2024

1. Install "php-xdebug" package

Here is a brief guide to show you how to install php-xdebug on Debian 10 (Buster)

$ sudo apt update $ sudo apt install php-xdebug

2. Uninstall "php-xdebug" package

This guide covers the steps necessary to uninstall php-xdebug on Debian 10 (Buster):

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

3. Information about the php-xdebug package on Debian 10 (Buster)

Package: php-xdebug
Source: xdebug
Version: 3.1.5+2.9.8+2.8.1+2.5.5-1+0~20220625.46+debian10~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+debian10~1.gbp6966da_amd64.deb
Size: 7436
SHA256: 479ed5f6ce3a92a553aed1e16f3dd04aaa0366742fc4acd1f706342996cc8b0d
SHA1: 41d94d6508d04b7dac64b69461b9c92b29608db9
MD5sum: 2251b9c86ad0be468e657d3e556b647d
Description: Xdebug Module for PHP
Description-md5: 0f0798e7431f8c626ceea9d500b3e977

Package: php-xdebug
Source: xdebug
Version: 2.7.0~rc2+2.6.1+2.5.5-1
Installed-Size: 1848
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Provides: php7.3-xdebug
Depends: ucf, phpapi-20180731, libc6 (>= 2.14)
Pre-Depends: php-common (>= 2:69~)
Description: Xdebug Module for PHP
Description-md5: 0f0798e7431f8c626ceea9d500b3e977
Homepage: http://xdebug.org/
Section: php
Priority: optional
Filename: pool/main/x/xdebug/php-xdebug_2.7.0~rc2+2.6.1+2.5.5-1_amd64.deb
Size: 448616
MD5sum: c5341c4e00d75d47d51e69114896ad0b
SHA256: 13ef83aa4030726a83b2a08ec56041cf4826addede14cbeb1fed0eeff172a752