How to Install and Uninstall php-cli Package on Debian 10 (Buster)
Last updated: November 21,2024
1. Install "php-cli" package
This guide let you learn how to install php-cli on Debian 10 (Buster)
$
sudo apt update
Copied
$
sudo apt install
php-cli
Copied
2. Uninstall "php-cli" package
Please follow the step by step instructions below to uninstall php-cli on Debian 10 (Buster):
$
sudo apt remove
php-cli
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the php-cli package on Debian 10 (Buster)
Package: php-cli
Source: php-defaults (92+0~20220117.43+debian10~1.gbpe0d14e)
Version: 2:8.1+92+0~20220117.43+debian10~1.gbpe0d14e
Architecture: all
Maintainer: Debian PHP Maintainers
Installed-Size: 25
Depends: php8.1-cli
Priority: optional
Section: php
Filename: pool/main/p/php-defaults/php-cli_8.1+92+0~20220117.43+debian10~1.gbpe0d14e_all.deb
Size: 7848
SHA256: a2061b41046f0ab1c1f249f4560cf1ec88cf8c32f15394c5c030bb03fcdb5a2e
SHA1: 12eff6fb875ff2b1b67ea608899e5891b3a7f178
MD5sum: 16ff245872e11f0fae27a6805e455246
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.1).
Description-md5: 232467ad58970134c89120381a7f5586
Package: php-cli
Source: php-defaults (69)
Version: 2:7.3+69
Installed-Size: 12
Maintainer: Debian PHP Maintainers
Architecture: all
Depends: php7.3-cli
Description: command-line interpreter for the PHP scripting language (default)
Description-md5: ab983b5dca572558067343e672b061f2
Section: php
Priority: optional
Filename: pool/main/p/php-defaults/php-cli_7.3+69_all.deb
Size: 6052
MD5sum: b2c302a0d742d96b6e6346765a8e9116
SHA256: 3c992ddf0b3c1fa36088dac38d6518487fed4798b9bb654b8e32e2c3087dbd6d
Source: php-defaults (92+0~20220117.43+debian10~1.gbpe0d14e)
Version: 2:8.1+92+0~20220117.43+debian10~1.gbpe0d14e
Architecture: all
Maintainer: Debian PHP Maintainers
Installed-Size: 25
Depends: php8.1-cli
Priority: optional
Section: php
Filename: pool/main/p/php-defaults/php-cli_8.1+92+0~20220117.43+debian10~1.gbpe0d14e_all.deb
Size: 7848
SHA256: a2061b41046f0ab1c1f249f4560cf1ec88cf8c32f15394c5c030bb03fcdb5a2e
SHA1: 12eff6fb875ff2b1b67ea608899e5891b3a7f178
MD5sum: 16ff245872e11f0fae27a6805e455246
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.1).
Description-md5: 232467ad58970134c89120381a7f5586
Package: php-cli
Source: php-defaults (69)
Version: 2:7.3+69
Installed-Size: 12
Maintainer: Debian PHP Maintainers
Architecture: all
Depends: php7.3-cli
Description: command-line interpreter for the PHP scripting language (default)
Description-md5: ab983b5dca572558067343e672b061f2
Section: php
Priority: optional
Filename: pool/main/p/php-defaults/php-cli_7.3+69_all.deb
Size: 6052
MD5sum: b2c302a0d742d96b6e6346765a8e9116
SHA256: 3c992ddf0b3c1fa36088dac38d6518487fed4798b9bb654b8e32e2c3087dbd6d