How to Install and Uninstall php7.1-xdebug Package on Ubuntu 21.10 (Impish Indri)

Last updated: July 01,2024

1. Install "php7.1-xdebug" package

This is a short guide on how to install php7.1-xdebug on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install php7.1-xdebug

2. Uninstall "php7.1-xdebug" package

In this section, we are going to explain the necessary steps to uninstall php7.1-xdebug on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove php7.1-xdebug $ sudo apt autoclean && sudo apt autoremove

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

Package: php7.1-xdebug
Source: xdebug
Priority: optional
Section: php
Installed-Size: 1487
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
Replaces: php-xdebug (<< 3.1.1+2.9.8+2.8.1+2.5.5-2+ubuntu21.10.1+deb.sury.org+2~)
Provides: php-xdebug
Depends: ucf, php7.1-common, libc6 (>= 2.33)
Pre-Depends: php-common (>= 2:69~)
Breaks: php-xdebug (<< 3.1.1+2.9.8+2.8.1+2.5.5-2+ubuntu21.10.1+deb.sury.org+2~)
Filename: pool/main/x/xdebug/php7.1-xdebug_3.1.1+2.9.8+2.8.1+2.5.5-2+ubuntu21.10.1+deb.sury.org+2_amd64.deb
Size: 511778
MD5sum: e311eb3d726b6a5d7d4fc365ec9ef894
SHA1: e1ab88d3bc54a56d364cf0d62d937c30198026ee
SHA256: 9d346b83a2e9b8e8126586af0fdcfa594a18872043d245eaa7c690b441b02d7d
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