How to Install and Uninstall phpmd Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: November 22,2024

1. Install "phpmd" package

Please follow the guidelines below to install phpmd on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install phpmd

2. Uninstall "phpmd" package

Please follow the instructions below to uninstall phpmd on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the phpmd package on Ubuntu 20.04 LTS (Focal Fossa)

Package: phpmd
Architecture: all
Version: 2.8.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: 392
Provides: php-pmd
Depends: php-cli, php-common, pdepend (>= 2.6), pdepend (<< 3~~), php-xml, php-composer-xdebug-handler (>= 1.0), php-composer-xdebug-handler (<< 2~~)
Filename: pool/universe/p/phpmd/phpmd_2.8.1-2build1_all.deb
Size: 52864
MD5sum: 19d46365ad6c30636d579c23e6fbe5be
SHA1: d8c3433c53c7d895b1ec254da26e5ba5284f83bd
SHA256: 300ed70d610b82a217bc144d20b18dcebc864a9897b151ae5b39cc71bff78a2e
Homepage: https://phpmd.org
Description: PHP Mess Detector
Description-md5: ff69a254a4b870ad31c585d013c29127