How to Install and Uninstall php5.6-cli Package on Debian 11 (Bullseye)

Last updated: February 03,2025

1. Install "php5.6-cli" package

Here is a brief guide to show you how to install php5.6-cli on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install php5.6-cli

2. Uninstall "php5.6-cli" package

In this section, we are going to explain the necessary steps to uninstall php5.6-cli on Debian 11 (Bullseye):

$ sudo apt remove php5.6-cli $ sudo apt autoclean && sudo apt autoremove

3. Information about the php5.6-cli package on Debian 11 (Bullseye)

Package: php5.6-cli
Source: php5.6
Version: 5.6.40-60+0~20220627.67+debian11~1.gbp1f7ffd
Architecture: amd64
Maintainer: Debian PHP Maintainers
Installed-Size: 4384
Depends: libedit2 (>= 2.11-20080614-4), libmagic1, libpcre3 (>= 2:8.41), mime-support, php5.6-common (= 5.6.40-60+0~20220627.67+debian11~1.gbp1f7ffd), php5.6-json, php5.6-opcache, php5.6-readline, tzdata, ucf, libc6 (>= 2.29), libssl1.1 (>= 1.1.0), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Suggests: php-pear
Provides: php-cli, phpapi-20131226
Homepage: http://www.php.net/
Priority: optional
Section: php
Filename: pool/main/p/php5.6/php5.6-cli_5.6.40-60+0~20220627.67+debian11~1.gbp1f7ffd_amd64.deb
Size: 1275296
SHA256: c5aec32ae0916537bc388855d08d0643154fd698d20b15b34adabe63ababfc04
SHA1: f6e30dcb80769ace62fa493abd6d915b82b96a36
MD5sum: ef51d51d4e5af45a1fee303c34d79c9f
Description: command-line interpreter for the PHP scripting language
This package provides the /usr/bin/php5.6 command interpreter, useful for
testing PHP scripts from a shell or performing general shell scripting tasks.
.
The following extensions are built in: Core date ereg filter hash libxml
mhash 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: b39d6910cc77bfaab56bc9894172c543