How to Install and Uninstall php8.1 Package on Kali Linux

Last updated: December 29,2024

1. Install "php8.1" package

Please follow the step by step instructions below to install php8.1 on Kali Linux

$ sudo apt update $ sudo apt install php8.1

2. Uninstall "php8.1" package

This guide covers the steps necessary to uninstall php8.1 on Kali Linux:

$ sudo apt remove php8.1 $ sudo apt autoclean && sudo apt autoremove

3. Information about the php8.1 package on Kali Linux

Package: php8.1
Version: 8.1.5-1
Installed-Size: 58
Maintainer: Debian PHP Maintainers
Architecture: all
Provides: php
Depends: libapache2-mod-php8.1 | php8.1-fpm | php8.1-cgi, php8.1-common
Size: 23992
SHA256: fe9dc74fce0ae0a9caab5861b4c36e5e93f75243fd0e845ab07fd1cf84b56210
SHA1: d25cc1cb88e72bd37d13dbcb329be2088123e9bb
MD5sum: 57cdf3e3a018461ce3a6504e4058c056
Description: server-side, HTML-embedded scripting language (metapackage)
This package is a metapackage that, when installed, guarantees that you
have at least one of the four server-side versions of the PHP interpreter
installed. Removing this package won't remove PHP from your system, however
it may remove other packages that depend on this one.
.
PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used
open source general-purpose scripting language that is especially suited
for web development and can be embedded into HTML.
Description-md5: 86488d7a405bdcbac9ece7c307f30abb
Homepage: http://www.php.net/
Section: php
Priority: optional
Filename: pool/main/p/php8.1/php8.1_8.1.5-1_all.deb