How to Install and Uninstall phpmd Package on Ubuntu 21.10 (Impish Indri)

Last updated: July 02,2024

1. Install "phpmd" package

Please follow the steps below to install phpmd on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install phpmd

2. Uninstall "phpmd" package

In this section, we are going to explain the necessary steps to uninstall phpmd on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove phpmd $ sudo apt autoclean && sudo apt autoremove

3. Information about the phpmd package on Ubuntu 21.10 (Impish Indri)

Package: phpmd
Architecture: all
Version: 2.9.1-2build1
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: 432
Provides: php-pmd
Depends: php-cli, php-common, pdepend (>= 2.7.1), pdepend (<< 3~~), php-xml, php-composer-xdebug-handler (>= 1.0), php-composer-xdebug-handler (<< 2~~)
Filename: pool/universe/p/phpmd/phpmd_2.9.1-2build1_all.deb
Size: 59004
MD5sum: 3ba820040d87d8b7ca16d957d70f2aa6
SHA1: 3ee171b7b815c754145f902b15c9a716aa995aca
SHA256: 8a10213be055d1569ba796bf406ec0a7f95007728eebd1560bb2773d20933f70
SHA512: 87b53a562c5c165b13de569389cdea068577dd2b9cc950acde9bb530d0eb285919adb0849aac1403374cdbe0425bcc1bc2c187c7f18ec4b861617f2f420bc381
Homepage: https://phpmd.org
Description-en: PHP Mess Detector
PHPMD is a spin-off project of PHP Depend and aims to be a PHP equivalent of
the well known Java tool PMD.
This project uses PHP Depend to measure several software metrics from
given source code, then it compares the calculated values with
customizable thresholds and reports all suspect software artifacts.
Description-md5: ff69a254a4b870ad31c585d013c29127