How to Install and Uninstall phpunit Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: May 13,2024

1. Install "phpunit" package

Learn how to install phpunit on Ubuntu 22.04 LTS (Jammy Jellyfish)

$ sudo apt update $ sudo apt install phpunit

2. Uninstall "phpunit" package

Please follow the steps below to uninstall phpunit on Ubuntu 22.04 LTS (Jammy Jellyfish):

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

3. Information about the phpunit package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Package: phpunit
Architecture: all
Version: 9.5.10-1ubuntu2
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: 1638
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.3), 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.7), 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.4), 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.10-1ubuntu2_all.deb
Size: 158434
MD5sum: 19247501d112eaf0559f73e06d23bdcd
SHA1: 1473eff51da95c203224c651faa4d390992490fc
SHA256: d9bf730d07aa6f33f82779f5f407c4d63e35f33cc2237a42a2187fb6f31d0093
SHA512: a45b2330612188b622e860ddb4cb9668a45e378d132bd5854b205ba45f414101be313680561dc576c2b0a225fbe509560cc5df7b362274697ae8106a93e86d87
Homepage: https://phpunit.de/
Description: Unit testing suite for PHP
Description-md5: 3f32da5741bf4ad2de864d5b86e5f0ee