How to Install and Uninstall phpunit Package on Kali Linux

Last updated: October 05,2024

1. Install "phpunit" package

Learn how to install phpunit on Kali Linux

$ sudo apt update $ sudo apt install phpunit

2. Uninstall "phpunit" package

Please follow the instructions below to uninstall phpunit on Kali Linux:

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

3. Information about the phpunit package on Kali Linux

Package: phpunit
Version: 9.6.17-1
Installed-Size: 1756
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.28), 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
Size: 165840
SHA256: c6d4d63900eb9c8ca7f888d1df1023821e4a882a5a102680efbe6d0bd773221f
SHA1: 936861070e1d8826a05f54a9d1f312fa5051bb53
MD5sum: 82d256c36b1ade86a33f378bd02be44a
Description: Unit testing suite for PHP
Unit testing allows you to write small test methods which verify units of
functionality in your program. It is a powerful technique for improving the
quality of your software, preventing regressions, and allowing confident
refactoring of your code.
.
PHPUnit is a unit testing suite for the PHP language, modelled on the xUnit
testing framework, designed by Kent Beck and Erich Gamma. If you've used
JUnit (for Java), PyUnit (for Python), CxxUnit (for C++), or any of the
other equivalents for other languages, the API for this package should seem
fairly familiar. If you've never written unit tests before, the PHPUnit
API is simple to learn and use.
Description-md5:
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.17-1_all.deb