How to Install and Uninstall phpcpd Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: May 14,2024

1. Install "phpcpd" package

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

$ sudo apt update $ sudo apt install phpcpd

2. Uninstall "phpcpd" package

In this section, we are going to explain the necessary steps to uninstall phpcpd on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove phpcpd $ sudo apt autoclean && sudo apt autoremove

3. Information about the phpcpd package on Ubuntu 20.04 LTS (Focal Fossa)

Package: phpcpd
Architecture: all
Version: 4.1.0-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: 63
Provides: php-cpd
Depends: php-cli, php-common, php-xml, php-finder-facade (>= 1.1), php-finder-facade (<< 2~~), phpunit-version, php-symfony-console, php-timer (>= 2.0), php-timer (<< 3~~)
Filename: pool/universe/p/phpcpd/phpcpd_4.1.0-1_all.deb
Size: 11852
MD5sum: 54d2d45dbc54ba7586afd7ce72d9ba77
SHA1: 1a0817e2fbc3142a502deb96df7d95002fcdff24
SHA256: 6d2598de1bb56e967e2ff4e57c85b665adc657f2b3b02627b6da7423f010eaf8
Homepage: https://github.com/sebastianbergmann/phpcpd
Description: copy and paste detector (CPD) for PHP code
Description-md5: 619209b49c6b524266b242808378f4bd