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

Last updated: December 28,2024

1. Install "php7.2-xdebug" package

Please follow the instructions below to install php7.2-xdebug on Ubuntu 20.04 LTS (Focal Fossa)

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

2. Uninstall "php7.2-xdebug" package

Learn how to uninstall php7.2-xdebug on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: php7.2-xdebug
Source: xdebug-3-1
Priority: optional
Section: php
Installed-Size: 2459
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 1:3.1.6-1+ubuntu20.04.1+deb.sury.org+1
Replaces: php-xdebug (<< 1:3.1.6-1+ubuntu20.04.1+deb.sury.org+1~)
Provides: php-xdebug
Depends: ucf, php7.2-common, phpapi-20170718, libc6 (>= 2.29)
Pre-Depends: php-common (>= 2:69~)
Breaks: php-xdebug (<< 1:3.1.6-1+ubuntu20.04.1+deb.sury.org+1~)
Filename: pool/main/x/xdebug-3-1/php7.2-xdebug_3.1.6-1+ubuntu20.04.1+deb.sury.org+1_amd64.deb
Size: 566072
MD5sum: 8be1ad350ab1a95bfa6c198560138e5a
SHA1: e75c025002960f7165cfd51157a1fdc1842afaad
SHA256: 5f10e136d1fab44a902c4c219e100161582fc12bd2eb0d35facc48f3b43dfb4f
Description: Xdebug Module for PHP
Description-md5: 960fff0d47cec49f1da1997641a8c7de