How to Install and Uninstall phpcpd Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: May 17,2024

1. Install "phpcpd" package

Please follow the steps below to install phpcpd on Ubuntu 22.04 LTS (Jammy Jellyfish)

$ sudo apt update $ sudo apt install phpcpd

2. Uninstall "phpcpd" package

Please follow the guidance below to uninstall phpcpd on Ubuntu 22.04 LTS (Jammy Jellyfish):

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

3. Information about the phpcpd package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Package: phpcpd
Architecture: all
Version: 6.0.3-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: 68
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-1_all.deb
Size: 11640
MD5sum: 998c46729644a2d1ac69de6a07a070b7
SHA1: 2eeb0a0e2c8b8f495d5b113bc124d0b9716aaef8
SHA256: d789a8d54929b66f3949feda4427575015204ed1feaca3e34859743c315c6004
SHA512: b8cfe1e3ce38b6686ff7e62c8d9d388dc7f07f549fd05d7926280e32927adb9f7d930c3b2eb06e8593770b62fc83f469b4ebd898cec224d38d6bfd491e9ae668
Homepage: https://github.com/sebastianbergmann/phpcpd
Description: copy and paste detector (CPD) for PHP code
Description-md5: 619209b49c6b524266b242808378f4bd