How to Install and Uninstall phpunit Package on Debian 11 (Bullseye)

Last updated: December 23,2024

1. Install "phpunit" package

Please follow the step by step instructions below to install phpunit on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install phpunit

2. Uninstall "phpunit" package

Please follow the instructions below to uninstall phpunit on Debian 11 (Bullseye):

$ sudo apt remove phpunit $ sudo apt autoclean && sudo apt autoremove

3. Information about the phpunit package on Debian 11 (Bullseye)

Package: phpunit
Version: 9.5.2-1
Installed-Size: 1631
Maintainer: Debian PHP PEAR Maintainers
Architecture: all
Depends: php-cli, php-common, php-xml, php-json, php-mbstring, php-doctrine-instantiator (>= 1.3.1), php-doctrine-instantiator (<< 2~~), php-deepcopy (>= 1.10.1), php-deepcopy (<< 2~~), php-phar-io-manifest (>= 2.0.1), php-phar-io-manifest (<< 3~~), php-phar-io-version (>= 3.0.2), php-phar-io-version (<< 4~~), php-phpspec-prophecy (>= 1.12.1), php-phpspec-prophecy (<< 2~~), php-codecoverage (>= 9.2.3), php-codecoverage (<< 10~~), php-file-iterator (>= 3.0.5), php-file-iterator (<< 4~~), php-invoker (>= 3.1.1), php-invoker (<< 4~~), php-text-template (>= 2.0.3), php-text-template (<< 3~~), php-timer (>= 5.0.2), php-timer (<< 6~~), phpunit-cli-parser (>= 1.0.1), phpunit-cli-parser (<< 2~~), phpunit-code-unit (>= 1.0.6), phpunit-code-unit (<< 2~~), phpunit-comparator (>= 4.0.5), phpunit-comparator (<< 5~~), phpunit-diff (>= 4.0.3), phpunit-diff (<< 5~~), phpunit-environment (>= 5.1.3), phpunit-environment (<< 6~~), phpunit-exporter (>= 4.0.3), phpunit-exporter (<< 5~~), phpunit-global-state (>= 5.0.1), phpunit-global-state (<< 6~~), phpunit-object-enumerator (>= 4.0.3), phpunit-object-enumerator (<< 5~~), phpunit-resource-operations (>= 3.0.3), phpunit-resource-operations (<< 4~~), phpunit-type (>= 2.3), phpunit-type (<< 3~~), phpunit-version (>= 3.0.2), phpunit-version (<< 4~~)
Suggests: php-soap, php-xdebug
Breaks: composer (<= 2), php-composer-semver (<= 3), phpcpd (<= 6), phploc (<= 7)
Description: Unit testing suite for PHP
Description-md5: 3f32da5741bf4ad2de864d5b86e5f0ee
Homepage: https://phpunit.de/
Tag: devel::lang:php, implemented-in::php, role::program, use::checking
Section: php
Priority: optional
Filename: pool/main/p/phpunit/phpunit_9.5.2-1_all.deb
Size: 168624
MD5sum: ca3534817a957492616f63c9d41a9c7c
SHA256: 406a734c2e61da08e903346817636965fdb7fa90888be9ebddc3da52f25311ae