How to Install and Uninstall php7.2-xdebug Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: November 07,2024

1. Install "php7.2-xdebug" package

This is a short guide on how to install php7.2-xdebug on Ubuntu 18.04 LTS (Bionic Beaver)

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

2. Uninstall "php7.2-xdebug" package

Please follow the guidelines below to uninstall php7.2-xdebug on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the php7.2-xdebug package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: php7.2-xdebug
Source: xdebug
Priority: optional
Section: php
Installed-Size: 2211
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 3.1.5+2.9.8+2.8.1+2.5.5-1+ubuntu18.04.1+deb.sury.org+1
Replaces: php-xdebug (<< 3.1.5+2.9.8+2.8.1+2.5.5-1+ubuntu18.04.1+deb.sury.org+1~)
Provides: php-xdebug
Depends: ucf, php7.2-common, phpapi-20170718, libc6 (>= 2.17)
Pre-Depends: php-common (>= 2:69~)
Breaks: php-xdebug (<< 3.1.5+2.9.8+2.8.1+2.5.5-1+ubuntu18.04.1+deb.sury.org+1~)
Filename: pool/main/x/xdebug/php7.2-xdebug_3.1.5+2.9.8+2.8.1+2.5.5-1+ubuntu18.04.1+deb.sury.org+1_amd64.deb
Size: 496832
MD5sum: 3ab227ecf087a806e7506301eb53b679
SHA1: ea27008f9f67cf777f825cf7d9c082236774c2c8
SHA256: 50cdd2a0e81be789f8c2bf4b21741ea258a2b8b80ef9481bf5589da4531632bd
Description: Xdebug Module for PHP
Description-md5: 960fff0d47cec49f1da1997641a8c7de