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

Last updated: November 06,2024

1. Install "php8.1-cli" package

This guide let you learn how to install php8.1-cli on Kali Linux

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

2. Uninstall "php8.1-cli" package

Here is a brief guide to show you how to uninstall php8.1-cli on Kali Linux:

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

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

Package: php8.1-cli
Source: php8.1 (8.1.5-1)
Version: 8.1.5-1+b1
Installed-Size: 5417
Maintainer: Debian PHP Maintainers
Architecture: amd64
Provides: php-cli, php8.1-json, phpapi-20210902
Depends: libedit2 (>= 2.11-20080614-4), libmagic1, mime-support, php8.1-common (= 8.1.5-1+b1), php8.1-opcache, php8.1-readline, tzdata, ucf, libargon2-1 (>= 0~20171227), libc6 (>= 2.33), 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: 1663360
SHA256: de3b491b82299ab8c0f7a2243bf267e9cb4a7406717972603dfe5774ebd04ece
SHA1: a362b6d610456860f7d7a0a217cd356b82bfdde5
MD5sum: 42b508ff5151e2d6af7306e6417d9c16
Description: command-line interpreter for the PHP scripting language
This package provides the /usr/bin/php8.1 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 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: c4f65cd0d3ec6a1fa6aba7e0fc095fa5
Homepage: http://www.php.net/
Section: php
Priority: optional
Filename: pool/main/p/php8.1/php8.1-cli_8.1.5-1+b1_amd64.deb