How to Install and Uninstall php-cli Package on Kali Linux

Last updated: May 18,2024

1. Install "php-cli" package

Learn how to install php-cli on Kali Linux

$ sudo apt update $ sudo apt install php-cli

2. Uninstall "php-cli" package

This tutorial shows how to uninstall php-cli on Kali Linux:

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

3. Information about the php-cli package on Kali Linux

Package: php-cli
Source: php-defaults (93)
Version: 2:8.2+93
Installed-Size: 21
Maintainer: Debian PHP Maintainers
Architecture: all
Depends: php8.2-cli
Size: 4108
SHA256: dac7619c999e7c08c1a13f3049d4e0a3643a91e8c5f660caead21ade12da03db
SHA1: 8a3608de0b579d5124deaadb19de22f88541ea66
MD5sum: 9410fbd63a4736a31b03d4d035fced74
Description: command-line interpreter for the PHP scripting language (default)
This package provides the /usr/bin/php command interpreter, useful for
testing PHP scripts from a shell or performing general shell scripting tasks.
.
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.
.
This package is a dependency package, which depends on latest stable
PHP version (currently 8.2).
Description-md5:
Section: php
Priority: optional
Filename: pool/main/p/php-defaults/php-cli_8.2+93_all.deb