How to Install and Uninstall php-codesniffer Package on Debian 12 (Bookworm)

Last updated: May 13,2024

1. Install "php-codesniffer" package

Please follow the instructions below to install php-codesniffer on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install php-codesniffer

2. Uninstall "php-codesniffer" package

Please follow the instructions below to uninstall php-codesniffer on Debian 12 (Bookworm):

$ sudo apt remove php-codesniffer $ sudo apt autoclean && sudo apt autoremove

3. Information about the php-codesniffer package on Debian 12 (Bookworm)

Package: php-codesniffer
Version: 3.7.1-2
Installed-Size: 4369
Maintainer: Debian PHP PEAR Maintainers
Architecture: all
Depends: php-cli, php-common, php-xml
Description: PHP, CSS and JavaScript coding standard analyzer and checker
Description-md5: d2f4e8ca2ac266389e17ef558170507b
Homepage: https://github.com/squizlabs/PHP_CodeSniffer
Section: php
Priority: optional
Filename: pool/main/p/php-codesniffer/php-codesniffer_3.7.1-2_all.deb
Size: 660144
MD5sum: 5ece97c8d8ff4b9693ebd5da5af7d690
SHA256: ef011992c4acadc3a0ba18210df7c46728e4c4e9173239a3f2a37fb79e1d63b3