How to Install and Uninstall php-cli Package on Debian 11 (Bullseye)
Last updated: December 23,2024
1. Install "php-cli" package
In this section, we are going to explain the necessary steps to install php-cli on Debian 11 (Bullseye)
$
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 11 (Bullseye):
$
sudo apt remove
php-cli
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the php-cli package on Debian 11 (Bullseye)
Package: php-cli
Source: php-defaults (92+0~20220117.43+debian11~1.gbpe0d14e)
Version: 2:8.1+92+0~20220117.43+debian11~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+debian11~1.gbpe0d14e_all.deb
Size: 7860
SHA256: b914f7f9faab3e4cc59546470ca67268ef79d53a1278653c42a3ad2c2d84d2ca
SHA1: 0ef8db4395ec5e4f852814c2cde73bb94eef13ad
MD5sum: f92f18be4f392ccf100fc04f8e9a138c
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 (76)
Version: 2:7.4+76
Installed-Size: 24
Maintainer: Debian PHP Maintainers
Architecture: all
Depends: php7.4-cli
Description: command-line interpreter for the PHP scripting language (default)
Description-md5: d7b82b840d6a7f5664fad95dad8ee870
Section: php
Priority: optional
Filename: pool/main/p/php-defaults/php-cli_7.4+76_all.deb
Size: 6796
MD5sum: 0ea175b8618c6042d6eccec3a7cf8ac5
SHA256: 703d5d2f3799080850d81a0bd10818be6c4a47320f3ae6b7d44310a60f632266
Source: php-defaults (92+0~20220117.43+debian11~1.gbpe0d14e)
Version: 2:8.1+92+0~20220117.43+debian11~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+debian11~1.gbpe0d14e_all.deb
Size: 7860
SHA256: b914f7f9faab3e4cc59546470ca67268ef79d53a1278653c42a3ad2c2d84d2ca
SHA1: 0ef8db4395ec5e4f852814c2cde73bb94eef13ad
MD5sum: f92f18be4f392ccf100fc04f8e9a138c
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 (76)
Version: 2:7.4+76
Installed-Size: 24
Maintainer: Debian PHP Maintainers
Architecture: all
Depends: php7.4-cli
Description: command-line interpreter for the PHP scripting language (default)
Description-md5: d7b82b840d6a7f5664fad95dad8ee870
Section: php
Priority: optional
Filename: pool/main/p/php-defaults/php-cli_7.4+76_all.deb
Size: 6796
MD5sum: 0ea175b8618c6042d6eccec3a7cf8ac5
SHA256: 703d5d2f3799080850d81a0bd10818be6c4a47320f3ae6b7d44310a60f632266