How to Install and Uninstall php8.2-cli Package on Kali Linux

Last updated: June 28,2024

1. Install "php8.2-cli" package

Please follow the step by step instructions below to install php8.2-cli on Kali Linux

$ sudo apt update $ sudo apt install php8.2-cli

2. Uninstall "php8.2-cli" package

Please follow the guidelines below to uninstall php8.2-cli on Kali Linux:

$ sudo apt remove php8.2-cli $ sudo apt autoclean && sudo apt autoremove

3. Information about the php8.2-cli package on Kali Linux

Package: php8.2-cli
Source: php8.2 (8.2.12-1)
Version: 8.2.12-1+b1
Installed-Size: 5585
Maintainer: Debian PHP Maintainers
Architecture: amd64
Provides: php-cli, php-json, php8.2-json, phpapi-20220829
Depends: libedit2 (>= 2.11-20080614-4), libmagic1, media-types | mime-support, php8.2-common (= 8.2.12-1+b1), php8.2-opcache, php8.2-readline, tzdata, ucf, libargon2-1 (>= 0~20171227), libc6 (>= 2.35), libpcre2-8-0 (>= 10.32), libsodium23 (>= 1.0.18), libssl3 (>= 3.0.0), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Suggests: php-pear
Size: 1726588
SHA256: b568aa3414ec91563d6859ca0b1dce692dfdec2932127503a5adee688edcc2cf
SHA1: ed3babad5ca8266f59170eac096992578684b485
MD5sum: 0e8f78dd25aeaa3b62c88d5ff9231d0c
Description: command-line interpreter for the PHP scripting language
This package provides the /usr/bin/php8.2 command interpreter, useful for
testing PHP scripts from a shell or performing general shell scripting tasks.
.
The following extensions are built in: Core date filter hash json libxml
openssl pcntl pcre random Reflection session sodium SPL standard zlib.
.
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:
Homepage: http://www.php.net/
Section: php
Priority: optional
Filename: pool/main/p/php8.2/php8.2-cli_8.2.12-1+b1_amd64.deb