How to Install and Uninstall phpcpd Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: May 15,2024

1. Install "phpcpd" package

Please follow the guidance below to install phpcpd on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install phpcpd

2. Uninstall "phpcpd" package

Please follow the instructions below to uninstall phpcpd on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the phpcpd package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: phpcpd
Architecture: all
Version: 3.0.1-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: 64
Provides: php-cpd
Depends: php-cli, php-common, php-finder-facade (>= 1.1), php-finder-facade (<< 2~~), phpunit-version, php-symfony-console, php-timer (>= 1.0.6), php-timer (<< 2~~)
Filename: pool/universe/p/phpcpd/phpcpd_3.0.1-1_all.deb
Size: 11820
MD5sum: a50b7915a02e46d4258098ff67e281be
SHA1: 621c28de6c458eb82c78d28176a971fd53b9d4a0
SHA256: 8d62e919a257efba331497502dc2360442aa8c680711e9344d086b229d32fa1e
Homepage: https://github.com/sebastianbergmann/phpcpd
Description: copy and paste detector (CPD) for PHP code
Description-md5: 619209b49c6b524266b242808378f4bd