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

Last updated: May 18,2024

1. Install "php7.1-cli" package

Please follow the guidelines below to install php7.1-cli on Debian 10 (Buster)

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

2. Uninstall "php7.1-cli" package

Please follow the step by step instructions below to uninstall php7.1-cli on Debian 10 (Buster):

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

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

Package: php7.1-cli
Source: php7.1
Version: 7.1.33-47+0~20220627.68+debian10~1.gbp1fc917
Architecture: amd64
Maintainer: Debian PHP Maintainers
Installed-Size: 4609
Depends: libedit2 (>= 2.11-20080614-4), libmagic1, libpcre3 (>= 2:8.41), mime-support, php7.1-common (= 7.1.33-47+0~20220627.68+debian10~1.gbp1fc917), php7.1-json, php7.1-opcache, php7.1-readline, tzdata, ucf, libc6 (>= 2.27), libssl1.1 (>= 1.1.0), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Suggests: php-pear
Provides: php-cli, phpapi-20160303
Homepage: http://www.php.net/
Priority: optional
Section: php
Filename: pool/main/p/php7.1/php7.1-cli_7.1.33-47+0~20220627.68+debian10~1.gbp1fc917_amd64.deb
Size: 1375200
SHA256: 4a2282e3256fcd8faaeef481527592d3fa8d7f6e14306d41e0509f41c31a7503
SHA1: b5990463b7e3c6842eb8357d0feb7b8601254ad1
MD5sum: 80d3cdeb33d40efc5e569f917d24862a
Description: command-line interpreter for the PHP scripting language
This package provides the /usr/bin/php7.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 libxml openssl
pcntl pcre Reflection session 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: f2b967ba041836b6c91fe5a24786badb