How to Install and Uninstall phpunit Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: November 07,2024

1. Install "phpunit" package

In this section, we are going to explain the necessary steps to install phpunit on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install phpunit

2. Uninstall "phpunit" package

Please follow the guidelines below to uninstall phpunit on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the phpunit package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: phpunit
Architecture: all
Version: 6.5.5-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: 813
Depends: php-cli, php-common, php-xml, php-json, php-mbstring, php-deepcopy (>= 1.6.1), php-deepcopy (<< 2~~), php-phar-io-manifest (>= 1.0.1), php-phar-io-manifest (<< 2~~), php-phar-io-version (>= 1.0), php-phar-io-version (<< 2~~), php-phpspec-prophecy (>= 1.7), php-phpspec-prophecy (<< 2~~), php-codecoverage (>= 5.3), php-codecoverage (<< 6~~), php-file-iterator (>= 1.4.3), php-file-iterator (<< 2~~), php-text-template (>= 1.2.1), php-text-template (<< 2~~), php-timer (>= 1.0.9), php-timer (<< 2~~), phpunit-mock-object (>= 5.0.5), phpunit-mock-object (<< 6~~), phpunit-comparator (>= 2.1), phpunit-comparator (<< 3~~), phpunit-diff (>= 2.0), phpunit-diff (<< 3~~), phpunit-environment (>= 3.1), phpunit-environment (<< 4~~), phpunit-exporter (>= 3.1), phpunit-exporter (<< 4~~), phpunit-global-state (>= 2.0), phpunit-global-state (<< 3~~), phpunit-object-enumerator (>= 3.0.3), phpunit-object-enumerator (<< 4~~), phpunit-resource-operations (>= 1.0), phpunit-resource-operations (<< 2~~), phpunit-version (>= 2.0.1), phpunit-version (<< 3~~)
Suggests: phpunit-dbunit, php-invoker (>= 1.1), php-invoker (<< 2~~), php-xdebug
Breaks: php-phpdocumentor-reflection-docblock (= 3.0.2), php-phpunit-dbunit (<< 3.0~~)
Filename: pool/universe/p/phpunit/phpunit_6.5.5-1ubuntu2_all.deb
Size: 91588
MD5sum: 12cd59265bb9fb9c79dcff55382d4b6a
SHA1: 8a13ebfa4a1c3ad616f0274d0df906695e3822bb
SHA256: 4daf37cdeb580b96d14cc628fbe56346fad79ab8773362af0e5c26befe393f07
Homepage: https://phpunit.de/
Description: Unit testing suite for PHP
Description-md5: 3f32da5741bf4ad2de864d5b86e5f0ee