How to Install and Uninstall php-xdebug Package on Ubuntu 21.10 (Impish Indri)

Last updated: November 07,2024

1. Install "php-xdebug" package

This tutorial shows how to install php-xdebug on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install php-xdebug

2. Uninstall "php-xdebug" package

Please follow the step by step instructions below to uninstall php-xdebug on Ubuntu 21.10 (Impish Indri):

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

3. Information about the php-xdebug package on Ubuntu 21.10 (Impish Indri)

Package: php-xdebug
Source: xdebug
Priority: optional
Section: php
Installed-Size: 18
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 3.1.1+2.9.8+2.8.1+2.5.5-2+ubuntu21.10.1+deb.sury.org+2
Depends: ucf, php8.1-xdebug
Pre-Depends: php-common (>= 2:69~)
Filename: pool/main/x/xdebug/php-xdebug_3.1.1+2.9.8+2.8.1+2.5.5-2+ubuntu21.10.1+deb.sury.org+2_amd64.deb
Size: 7302
MD5sum: bda4bafbe320e98a2f17d7db106623b7
SHA1: 78089bf6ca2a5991685a40f605e838c5efeedce2
SHA256: 08b5001c2be06a12d0dacfe2b3431de16ae864903c1aed61ea6d98814381006d
Description-en: Xdebug Module for PHP
The Xdebug extension helps you debugging your script by providing a lot of
valuable debug information. The debug information that Xdebug can provide
includes the following:
.
* stack traces and function traces in error messages with:
- full parameter display for user defined functions
- function name, file name and line indications
- support for member functions
* memory allocation
* protection for infinite recursions
.
Xdebug also provides:
.
* profiling information for PHP scripts
* script execution analysis
* capabilities to debug your scripts interactively with a debug client
Description-md5: 960fff0d47cec49f1da1997641a8c7de

Package: php-xdebug
Architecture: amd64
Version: 3.0.3+2.9.8+2.8.1+2.5.5-0+deb11u1build1
Priority: optional
Section: universe/php
Source: xdebug
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP PECL Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1970
Provides: php8.0-xdebug
Pre-Depends: php-common (>= 2:69~)
Depends: ucf, phpapi-20200930, libc6 (>= 2.33)
Filename: pool/universe/x/xdebug/php-xdebug_3.0.3+2.9.8+2.8.1+2.5.5-0+deb11u1build1_amd64.deb
Size: 495504
MD5sum: 6b04b04c71a3dd34e8c42d97e3957898
SHA1: ece632cd8267a105dfacc9e7b6778b98eb4adab2
SHA256: 4b593c26132873800be18f9e8599a3bb9ccbead0b23985d3b0593d33f59a67c0
SHA512: be771daa4aa631f09bc1bc3f3476a0d273583f9376bb5155a777add1265651ba8432b2df7fa9ec7ea2424f42fcc9c66574ab9937433f904587736cc451adc490
Homepage: https://xdebug.org/
Description-en: Xdebug Module for PHP
The Xdebug extension helps you debugging your script by providing a lot of
valuable debug information. The debug information that Xdebug can provide
includes the following:
.
* stack traces and function traces in error messages with:
- full parameter display for user defined functions
- function name, file name and line indications
- support for member functions
* memory allocation
* protection for infinite recursions
.
Xdebug also provides:
.
* profiling information for PHP scripts
* script execution analysis
* capabilities to debug your scripts interactively with a debug client
Description-md5: 0f0798e7431f8c626ceea9d500b3e977