How to Install and Uninstall php-codesniffer Package on Ubuntu 22.04 LTS (Jammy Jellyfish)
Last updated: December 25,2024
Notice
You can also install and uninstall the php-codesniffer on the following distributions in the same way, as they are all based on the Ubuntu system
- Kubuntu 22.04 LTS
- Lubuntu 22.04 LTS
- Xubuntu 22.04 LTS
- Ubuntu MATE 22.04 LTS
- Ubuntu Studio 22.04 LTS
- Pop!_OS 22.04 LTS
- Zorin OS 16 / Zorin OS 17
- Ubuntu Budgie 22.04
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
Copied
$
sudo apt install
php-codesniffer
Copied
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
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
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
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