How to Install and Uninstall phpunit Package on Ubuntu 21.10 (Impish Indri)
Last updated: December 23,2024
1. Install "phpunit" package
This tutorial shows how to install phpunit on Ubuntu 21.10 (Impish Indri)
$
sudo apt update
Copied
$
sudo apt install
phpunit
Copied
2. Uninstall "phpunit" package
Please follow the step by step instructions below to uninstall phpunit on Ubuntu 21.10 (Impish Indri):
$
sudo apt remove
phpunit
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the phpunit package on Ubuntu 21.10 (Impish Indri)
Package: phpunit
Architecture: all
Version: 9.5.4-1
Priority: optional
Section: universe/web
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP PEAR Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1633
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)
Filename: pool/universe/p/phpunit/phpunit_9.5.4-1_all.deb
Size: 156320
MD5sum: bb3486706f0a9239d9a00b42952bf9f0
SHA1: 990aa7d88c7d15098e0d0c3e4bd7b0a361c88ba0
SHA256: 49b872d27e4d8cee6801d32370c7405cadd0823b41670ac1610c03fbfd931e6c
SHA512: 03c50735d59675cbc55725655103e3206043ab4920c5b59967f14a9dbd0ca67e67b859cfa805a62e05b587ff96d8fa1de8e668cdf59bc73eb5cdcc5db2c2f11c
Homepage: https://phpunit.de/
Description-en: 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: 3f32da5741bf4ad2de864d5b86e5f0ee
Architecture: all
Version: 9.5.4-1
Priority: optional
Section: universe/web
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP PEAR Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1633
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)
Filename: pool/universe/p/phpunit/phpunit_9.5.4-1_all.deb
Size: 156320
MD5sum: bb3486706f0a9239d9a00b42952bf9f0
SHA1: 990aa7d88c7d15098e0d0c3e4bd7b0a361c88ba0
SHA256: 49b872d27e4d8cee6801d32370c7405cadd0823b41670ac1610c03fbfd931e6c
SHA512: 03c50735d59675cbc55725655103e3206043ab4920c5b59967f14a9dbd0ca67e67b859cfa805a62e05b587ff96d8fa1de8e668cdf59bc73eb5cdcc5db2c2f11c
Homepage: https://phpunit.de/
Description-en: 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: 3f32da5741bf4ad2de864d5b86e5f0ee