How to Install and Uninstall php5.6-cli Package on Debian 12 (Bookworm)

Last updated: November 26,2024

1. Install "php5.6-cli" package

This tutorial shows how to install php5.6-cli on Debian 12 (Bookworm)

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

2. Uninstall "php5.6-cli" package

Please follow the steps below to uninstall php5.6-cli on Debian 12 (Bookworm):

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

3. Information about the php5.6-cli package on Debian 12 (Bookworm)

Package: php5.6-cli
Source: php5.6
Version: 5.6.40-68+0~20230902.80+debian12~1.gbpa2012b
Architecture: amd64
Maintainer: Debian PHP Maintainers
Installed-Size: 4336
Depends: libedit2 (>= 2.11-20080614-4), libmagic1, libpcre3 (>= 2:8.41), media-types | mime-support, php5.6-common (= 5.6.40-68+0~20230902.80+debian12~1.gbpa2012b), php5.6-json, php5.6-opcache, php5.6-readline, tzdata, ucf, libc6 (>= 2.35), libssl3 (>= 3.0.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-68+0~20230902.80+debian12~1.gbpa2012b_amd64.deb
Size: 1279332
SHA256: 4fd8b0c75795b6efe304534081afd3e55780554226318b4b40c55f4eac4187da
SHA1: 42a14b8e9a7af35c07fb830efc73d94b4d63721c
MD5sum: c100baa3327cc75a94fac1148b5afbc6
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