How to Install and Uninstall phpunit Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: May 16,2024

1. Install "phpunit" package

This tutorial shows how to install phpunit on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install phpunit

2. Uninstall "phpunit" package

In this section, we are going to explain the necessary steps to uninstall phpunit on Ubuntu 24.04 LTS (Noble Numbat):

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

3. Information about the phpunit package on Ubuntu 24.04 LTS (Noble Numbat)

Package: phpunit
Architecture: all
Version: 9.6.17-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: 1754
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
Filename: pool/universe/p/phpunit/phpunit_9.6.17-1_all.deb
Size: 165970
MD5sum: ccf6d3506148c47e1d62bff66098e513
SHA1: ef04051f7e398cf35618051ad0d54d4548e4d343
SHA256: 2d4d71ed3074a3be671c5d661bbbbda9e1f53240dd66013fcdb03e102bedfe0a
SHA512: 4f0905856dd260a032e3646eb0aa6f2c6eaa4db9ea5e31b9a955afbbf1e62ef9444ce85ebc73649937e8c56d226627aa4e228f14ba6a8719711423dfd84c55f6
Homepage: https://phpunit.de/
Description: Unit testing suite for PHP
Description-md5: 3f32da5741bf4ad2de864d5b86e5f0ee