How to Install and Uninstall php7.2-xdebug Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: December 29,2024

1. Install "php7.2-xdebug" package

Please follow the guidance below to install php7.2-xdebug on Ubuntu 22.04 LTS (Jammy Jellyfish)

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

2. Uninstall "php7.2-xdebug" package

Please follow the instructions below to uninstall php7.2-xdebug on Ubuntu 22.04 LTS (Jammy Jellyfish):

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

3. Information about the php7.2-xdebug package on Ubuntu 22.04 LTS (Jammy Jellyfish)

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