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

Last updated: December 27,2024

1. Install "php8.1-xdebug" package

Please follow the guidelines below to install php8.1-xdebug on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install php8.1-xdebug

2. Uninstall "php8.1-xdebug" package

Here is a brief guide to show you how to uninstall php8.1-xdebug on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove php8.1-xdebug $ sudo apt autoclean && sudo apt autoremove

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

Package: php8.1-xdebug
Source: xdebug
Priority: optional
Section: php
Installed-Size: 2829
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 3.3.1-1+ubuntu20.04.1+deb.sury.org+1
Replaces: php-xdebug (<< 3.3.1-1+ubuntu20.04.1+deb.sury.org+1~)
Provides: php-xdebug
Depends: ucf, php8.1-common, phpapi-20210902, libc6 (>= 2.29)
Pre-Depends: php-common (>= 2:69~)
Breaks: php-xdebug (<< 3.3.1-1+ubuntu20.04.1+deb.sury.org+1~)
Filename: pool/main/x/xdebug/php8.1-xdebug_3.3.1-1+ubuntu20.04.1+deb.sury.org+1_amd64.deb
Size: 649096
MD5sum: f7e07f652d3d3da910abb2a86804243a
SHA1: a67cb7c07d4d1ce0d0fd89dddbac451917cf15fe
SHA256: 85968f6dee2acecd6a7a176c75d370290cceffbb3ce4b3d91e8479ed1c274eb1
Description: Xdebug Module for PHP
Description-md5: 960fff0d47cec49f1da1997641a8c7de