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

Last updated: November 06,2024

1. Install "phpcpd" package

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

$ sudo apt update $ sudo apt install phpcpd

2. Uninstall "phpcpd" package

Please follow the guidance below to uninstall phpcpd on Ubuntu 24.04 LTS (Noble Numbat):

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

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

Package: phpcpd
Architecture: all
Version: 6.0.3-2
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: 74
Provides: php-cpd
Depends: php-cli, php-common, php-xml, phpunit-cli-parser (>= 1.0), phpunit-cli-parser (<< 2~~), phpunit-version (>= 3.0), phpunit-version (<< 4~~), php-file-iterator (>= 3.0), php-file-iterator (<< 4~~), php-timer (>= 5.0), php-timer (<< 6~~)
Filename: pool/universe/p/phpcpd/phpcpd_6.0.3-2_all.deb
Size: 12180
MD5sum: a632b6dbaf07f1280ad5820578682837
SHA1: 391d21134997d2c4fc607f37a884e7a0401aa24e
SHA256: d8c57d5ba74c5df3faf8f0ab3826012abeb2a955fdebec35a9cff76d0d647763
SHA512: f1d6b60b779c959bdb178a4d5cd15daa212547afbea279d8d7403bfa881c222b6553daa3cdcf3a435794546182bdf7444bd0a78d2c19805f65c48cbb3d7e7b9b
Homepage: https://github.com/sebastianbergmann/phpcpd
Description: copy and paste detector (CPD) for PHP code
Description-md5: 619209b49c6b524266b242808378f4bd