How to Install and Uninstall php-codesniffer Package on Ubuntu 22.10 (Kinetic Kudu)

Last updated: December 18,2024

1. Install "php-codesniffer" package

Please follow the steps below to install php-codesniffer on Ubuntu 22.10 (Kinetic Kudu)

$ sudo apt update $ sudo apt install php-codesniffer

2. Uninstall "php-codesniffer" package

In this section, we are going to explain the necessary steps to uninstall php-codesniffer on Ubuntu 22.10 (Kinetic Kudu):

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

3. Information about the php-codesniffer package on Ubuntu 22.10 (Kinetic Kudu)

Package: php-codesniffer
Architecture: all
Version: 3.7.1-1
Priority: optional
Section: universe/web
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP PEAR Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 4374
Depends: php-cli, php-common, php-xml
Filename: pool/universe/p/php-codesniffer/php-codesniffer_3.7.1-1_all.deb
Size: 558162
MD5sum: b01b06a8af73d119ca48d95eb344e57d
SHA1: 85e72d1e2c3c7d9f1d55a4024b4ccba8e6e46032
SHA256: 572db98b70d5e0c378ffff21c219ee01cc2db31ca17f4c85f965d199619edd0d
SHA512: 94e47409f800208788c0b6352b3db1c68522440de327291e66b381070e44262170d0905005ccc5b20f47e04caba031e317d502cbdbc441de8c5f3077ec378908
Homepage: https://github.com/squizlabs/PHP_CodeSniffer
Description: PHP, CSS and JavaScript coding standard analyzer and checker
Description-md5: d2f4e8ca2ac266389e17ef558170507b