How to Install and Uninstall php8.1-cli Package on Debian 10 (Buster)

Last updated: May 08,2024

1. Install "php8.1-cli" package

This guide covers the steps necessary to install php8.1-cli on Debian 10 (Buster)

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

2. Uninstall "php8.1-cli" package

This tutorial shows how to uninstall php8.1-cli on Debian 10 (Buster):

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

3. Information about the php8.1-cli package on Debian 10 (Buster)

Package: php8.1-cli
Source: php8.1
Version: 8.1.9-1+0~20220815.24+debian10~1.gbp4d5b5a
Architecture: amd64
Maintainer: Debian PHP Maintainers
Installed-Size: 5446
Depends: libedit2 (>= 2.11-20080614-4), libmagic1, mime-support, php8.1-common (= 8.1.9-1+0~20220815.24+debian10~1.gbp4d5b5a), php8.1-opcache, php8.1-readline, tzdata, ucf, libargon2-1 (>= 0~20171227), libc6 (>= 2.27), libpcre2-8-0 (>= 10.38), libsodium23 (>= 1.0.18), libssl1.1 (>= 1.1.1), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Suggests: php-pear
Provides: php-cli, php-json, php8.1-json, phpapi-20210902
Homepage: http://www.php.net/
Priority: optional
Section: php
Filename: pool/main/p/php8.1/php8.1-cli_8.1.9-1+0~20220815.24+debian10~1.gbp4d5b5a_amd64.deb
Size: 1669152
SHA256: ef28305813058f08f278b336d1c3a0b7239c176447f53e2b0b698533451e59f3
SHA1: 4ad232560acc554cfa526880cbfd0148be547842
MD5sum: 290fd1ada4897fc686036fe92003158c
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