How to Install and Uninstall php-codecoverage Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: November 26,2024

1. Install "php-codecoverage" package

This guide covers the steps necessary to install php-codecoverage on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install php-codecoverage

2. Uninstall "php-codecoverage" package

Here is a brief guide to show you how to uninstall php-codecoverage on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove php-codecoverage $ sudo apt autoclean && sudo apt autoremove

3. Information about the php-codecoverage package on Ubuntu 20.04 LTS (Focal Fossa)

Package: php-codecoverage
Architecture: all
Version: 7.0.10+dfsg-1
Priority: optional
Section: universe/php
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP PEAR Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 567
Depends: libjs-bootstrap4, libjs-d3, libjs-jquery, php-common, php-xml, php-file-iterator (>= 2.0.2), php-file-iterator (<< 3~~), php-token-stream (>= 3.1.1), php-token-stream (<< 4~~), php-text-template (>= 1.2.1), php-text-template (<< 2~~), phpunit-code-unit-reverse-lookup (>= 1.0.1), phpunit-code-unit-reverse-lookup (<< 2~~), phpunit-environment (>= 4.2.2), phpunit-environment (<< 5~~), phpunit-version (>= 2.0.1), phpunit-version (<< 3~~), php-tokenizer (>= 1.1.3), php-tokenizer (<< 2~~)
Suggests: php-xdebug (>= 2.7.2), php-xdebug (<< 3~~)
Breaks: libjs-bootstrap4 (<< 4.3.1+dfsg2-2~)
Filename: pool/universe/p/php-codecoverage/php-codecoverage_7.0.10+dfsg-1_all.deb
Size: 71088
MD5sum: baa0cd02d2df21639f8bd36f50fef5bb
SHA1: 362dbe964a6789904cc0a6d6ca4416202b3bed9d
SHA256: b0a0e288d626c009bd32de805414696e9c5fe4c00f4963d85fe126e1293f8462
Homepage: https://github.com/sebastianbergmann/php-code-coverage
Description: collection, processing, and rendering for code coverage
Description-md5: c2e74528d6668ec149f102a2671fafd7