How to Install and Uninstall phpcpd Package on Debian 12 (Bookworm)

Last updated: May 12,2024

1. Install "phpcpd" package

Learn how to install phpcpd on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install phpcpd

2. Uninstall "phpcpd" package

Please follow the step by step instructions below to uninstall phpcpd on Debian 12 (Bookworm):

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

3. Information about the phpcpd package on Debian 12 (Bookworm)

Package: phpcpd
Version: 6.0.3-2
Installed-Size: 76
Maintainer: Debian PHP PEAR Maintainers
Architecture: all
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~~)
Description: copy and paste detector (CPD) for PHP code
Description-md5: 619209b49c6b524266b242808378f4bd
Homepage: https://github.com/sebastianbergmann/phpcpd
Section: php
Priority: optional
Filename: pool/main/p/phpcpd/phpcpd_6.0.3-2_all.deb
Size: 13668
MD5sum: e8b2778613f77ae890fdc12633303da8
SHA256: 83305b5cc1fbea4b58467f7c63ddd354652c736aa04fa046dcecf73e6ba39a94