How to Install and Uninstall php-codesniffer Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: November 21,2024

1. Install "php-codesniffer" package

In this section, we are going to explain the necessary steps to install php-codesniffer on Ubuntu 22.04 LTS (Jammy Jellyfish)

$ sudo apt update $ sudo apt install php-codesniffer

2. Uninstall "php-codesniffer" package

This is a short guide on how to uninstall php-codesniffer on Ubuntu 22.04 LTS (Jammy Jellyfish):

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

3. Information about the php-codesniffer package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Package: php-codesniffer
Architecture: all
Version: 3.6.2-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: 4342
Depends: php-cli, php-common, php-xml
Filename: pool/universe/p/php-codesniffer/php-codesniffer_3.6.2-1_all.deb
Size: 555962
MD5sum: d8d6c27442fd3946878687051d3e838f
SHA1: f9fbdc7f1360dd09a567a7e5e41f80cce2f71cfb
SHA256: 91f02f7f560d8804a26c657892f85078cfee7d793c4de54a4147586a261a06fa
SHA512: b67760458fb6255cc56bf019b00d72d1a86bae52aa10c3fc06dd8f0e5d45a84f4079925232a15bae27c7d04916a7d2fd73d563d12475e4fc24965549eba6e690
Homepage: https://github.com/squizlabs/PHP_CodeSniffer
Description: PHP, CSS and JavaScript coding standard analyzer and checker
Description-md5: d2f4e8ca2ac266389e17ef558170507b