How to Install and Uninstall php8.0-cli Package on Debian 12 (Bookworm)

Last updated: July 05,2024

1. Install "php8.0-cli" package

Here is a brief guide to show you how to install php8.0-cli on Debian 12 (Bookworm)

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

2. Uninstall "php8.0-cli" package

Please follow the instructions below to uninstall php8.0-cli on Debian 12 (Bookworm):

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

3. Information about the php8.0-cli package on Debian 12 (Bookworm)

Package: php8.0-cli
Source: php8.0
Version: 1:8.0.30-2+0~20230904.59+debian12~1.gbp806e95
Architecture: amd64
Maintainer: Debian PHP Maintainers
Installed-Size: 4922
Depends: libedit2 (>= 2.11-20080614-4), libmagic1, media-types | mime-support, php8.0-common (= 1:8.0.30-2+0~20230904.59+debian12~1.gbp806e95), php8.0-opcache, php8.0-readline, tzdata, ucf, libargon2-1 (>= 0~20171227), libc6 (>= 2.35), libpcre2-8-0 (>= 10.32), libsodium23 (>= 1.0.14), libssl3 (>= 3.0.0), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Suggests: php-pear
Provides: php-cli, php-json, php8.0-json, phpapi-20200930
Homepage: http://www.php.net/
Priority: optional
Section: php
Filename: pool/main/p/php8.0/php8.0-cli_8.0.30-2+0~20230904.59+debian12~1.gbp806e95_amd64.deb
Size: 1499776
SHA256: f0f9d3b62d82cf1b5d9918a7cf7e14159c04a081f828d6c8fc6f3ab00c8c35fa
SHA1: 17224ee876078c41d5b34a061032891677b5c3ef
MD5sum: 5b1a6ab988233de106ec7367e87e5a0c
Description: command-line interpreter for the PHP scripting language
This package provides the /usr/bin/php8.0 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: 12cfe9b7356136066b6534d6fa3b22c8