How to Install and Uninstall php7.0-xdebug Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: July 04,2024

1. Install "php7.0-xdebug" package

Please follow the guidance below to install php7.0-xdebug on Ubuntu 16.04 LTS (Xenial Xerus)

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

2. Uninstall "php7.0-xdebug" package

This is a short guide on how to uninstall php7.0-xdebug on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the php7.0-xdebug package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: php7.0-xdebug
Source: xdebug
Priority: optional
Section: php
Installed-Size: 1422
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 3.0.3+2.9.8+2.8.1+2.5.5-1+ubuntu16.04.1+deb.sury.org+1
Replaces: php-xdebug (<< 3.0.3+2.9.8+2.8.1+2.5.5-1+ubuntu16.04.1+deb.sury.org+1~)
Provides: php-xdebug
Depends: ucf, php7.0-common, libc6 (>= 2.14)
Pre-Depends: php-common (>= 2:69~)
Breaks: php-xdebug (<< 3.0.3+2.9.8+2.8.1+2.5.5-1+ubuntu16.04.1+deb.sury.org+1~)
Filename: pool/main/x/xdebug/php7.0-xdebug_3.0.3+2.9.8+2.8.1+2.5.5-1+ubuntu16.04.1+deb.sury.org+1_amd64.deb
Size: 368052
MD5sum: cc4c00938db13457fa13c0b2a2161bc5
SHA1: a30bde2766b4aabf41c44e8d35d712e9c2567176
SHA256: 90cc9f640f323142087b0736ac4478716bf9eb2568c9716f2881cffaa7967aa4
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