How to Install and Uninstall php-xdebug Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: May 18,2024

1. Install "php-xdebug" package

This guide covers the steps necessary to install php-xdebug on Ubuntu 20.04 LTS (Focal Fossa)

$ 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 Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the php-xdebug package on Ubuntu 20.04 LTS (Focal Fossa)

Package: php-xdebug
Source: xdebug
Priority: optional
Section: php
Installed-Size: 18
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 3.3.1-1+ubuntu20.04.1+deb.sury.org+1
Depends: ucf, php8.3-xdebug
Pre-Depends: php-common (>= 2:69~)
Filename: pool/main/x/xdebug/php-xdebug_3.3.1-1+ubuntu20.04.1+deb.sury.org+1_amd64.deb
Size: 7608
MD5sum: e8287df726d8c05ed770f6fcccf5dd1f
SHA1: 0bdbc4d3d417d2b553154a52f193acb3f81b8fef
SHA256: 78c2856d1eafcdfc8c660e82006ad5715ece70ad85ee424c1454ca68c5d880d2
Description: Xdebug Module for PHP
Description-md5: dc0f2303be7d0eccb8e6b7def5f00fb9

Package: php-xdebug
Architecture: amd64
Version: 2.9.2+2.8.1+2.5.5-1build1
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: 2123
Provides: php7.4-xdebug
Pre-Depends: php-common (>= 2:69~)
Depends: ucf, phpapi-20190902, libc6 (>= 2.29)
Filename: pool/universe/x/xdebug/php-xdebug_2.9.2+2.8.1+2.5.5-1build1_amd64.deb
Size: 473240
MD5sum: c1e4afba8c56757981c7552ab8655672
SHA1: 1775492197317d515b32422a0b4ae97f3cbf27c9
SHA256: 2f6356109ecdcddea1704d6265150f42b1a294cfdd7150184c4a089671fcf73e
Homepage: http://xdebug.org/
Description: Xdebug Module for PHP
Description-md5: 0f0798e7431f8c626ceea9d500b3e977