


Ubuntu (18.04 LTS/Bionic, 20.04 LTS/Focal): sudo apt-get install php-xdebug.SUSE (openSUSE, Enterprise): sudo zypper in php7-xdebug, or sudo zypper in php8-xdebug.RHEL (Remi Repo): sudo yum install php74-php-xdebug3.Manjaro (20.1/Mikah): sudo pacman -S xdebug.Fedora (Remi Repo): sudo yum install php74-php-xdebug3.Fedora (32): sudo yum install php-xdebug.Debian (9/stretch, testing/buster/bullseye/sid): sudo apt-get install php-xdebug.CentOS (Remi Repo): sudo yum install php74-php-xdebug3, or sudo yum install php80-php-xdebug3, or sudo yum install php81-php-xdebug3.Alpinelinux: sudo apk add php7-pecl-xdebug, or sudo apk add php8-pecl-xdebug.Depending on your distribution, run the following command: Installing Xdebug with a package manager is often the fastest way. Unix-like operating systems, from source.Linux without an Xdebug package with PECL.How you install Xdebug depends on your system. This section describes on how to install Xdebug.
