How to Install and Uninstall phpunit Package on Debian 12 (Bookworm)

Last updated: November 22,2024

1. Install "phpunit" package

Please follow the guidelines below to install phpunit on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install phpunit

2. Uninstall "phpunit" package

Please follow the step by step instructions below to uninstall phpunit on Debian 12 (Bookworm):

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

3. Information about the phpunit package on Debian 12 (Bookworm)

Package: phpunit
Version: 9.6.7-1
Installed-Size: 1653
Maintainer: Debian PHP PEAR Maintainers
Architecture: all
Depends: php-cli, php-common, php-xml, php-json, php-mbstring, php-doctrine-instantiator, php-deepcopy (>= 1.10.1), php-deepcopy (<< 2~~), php-phar-io-manifest (>= 2.0.3), php-phar-io-manifest (<< 3~~), php-phar-io-version (>= 3.0.2), php-phar-io-version (<< 4~~), php-codecoverage (>= 9.2.13), 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.8), phpunit-comparator (<< 5~~), phpunit-diff (>= 4.0.3), phpunit-diff (<< 5~~), phpunit-environment (>= 5.1.3), phpunit-environment (<< 6~~), phpunit-exporter (>= 4.0.5), 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 (>= 3.2), phpunit-type (<< 4~~), phpunit-version (>= 3.0.2), phpunit-version (<< 4~~)
Suggests: php-soap, php-xdebug
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.6.7-1_all.deb
Size: 162948
MD5sum: 6b6526f71bedafa95b6fb715b7112591
SHA256: b06741f8cc53afe11800aaabed566295a85d9d76f6c95e00a31857a9f9fe831a