How to Install and Uninstall php8.2-cli Package on Debian 12 (Bookworm)

Last updated: November 07,2024

1. Install "php8.2-cli" package

This guide covers the steps necessary to install php8.2-cli on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install php8.2-cli

2. Uninstall "php8.2-cli" package

Please follow the step by step instructions below to uninstall php8.2-cli on Debian 12 (Bookworm):

$ sudo apt remove php8.2-cli $ sudo apt autoclean && sudo apt autoremove

3. Information about the php8.2-cli package on Debian 12 (Bookworm)

Package: php8.2-cli
Source: php8.2
Version: 8.2.16-1+0~20240216.40+debian12~1.gbp6cbea3
Architecture: amd64
Maintainer: Debian PHP Maintainers
Installed-Size: 5573
Depends: libedit2 (>= 2.11-20080614-4), libmagic1, media-types | mime-support, php8.2-common (= 8.2.16-1+0~20240216.40+debian12~1.gbp6cbea3), php8.2-opcache, php8.2-readline, tzdata, ucf, libargon2-1 (>= 0~20171227), libc6 (>= 2.35), libpcre2-8-0 (>= 10.32), libsodium23 (>= 1.0.18), libssl3 (>= 3.0.0), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Suggests: php-pear
Provides: php-cli, php-json, php8.2-json, phpapi-20220829
Homepage: http://www.php.net/
Priority: optional
Section: php
Filename: pool/main/p/php8.2/php8.2-cli_8.2.16-1+0~20240216.40+debian12~1.gbp6cbea3_amd64.deb
Size: 1733656
SHA256: f48e83d163ac88921522d67ecbabf7daba626ffec37960aefd8847aa0189b546
SHA1: f92a80f88861f9ad950cc85a847f1e5e329b6472
MD5sum: e8116fcbdab53fb3fc49d462aaba6e52
Description: command-line interpreter for the PHP scripting language
Description-md5: 863ef0577392567b18d4d0fe134613e6

Package: php8.2-cli
Source: php8.2
Version: 8.2.7-1~deb12u1
Installed-Size: 5581
Maintainer: Debian PHP Maintainers
Architecture: amd64
Provides: php-cli, php-json, php8.2-json, phpapi-20220829
Depends: libedit2 (>= 2.11-20080614-4), libmagic1, media-types | mime-support, php8.2-common (= 8.2.7-1~deb12u1), php8.2-opcache, php8.2-readline, tzdata, ucf, libargon2-1 (>= 0~20171227), libc6 (>= 2.35), libpcre2-8-0 (>= 10.32), libsodium23 (>= 1.0.18), libssl3 (>= 3.0.0), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Suggests: php-pear
Description: command-line interpreter for the PHP scripting language
Description-md5: 863ef0577392567b18d4d0fe134613e6
Homepage: http://www.php.net/
Section: php
Priority: optional
Filename: pool/main/p/php8.2/php8.2-cli_8.2.7-1~deb12u1_amd64.deb
Size: 1732352
MD5sum: 4c83eef413886662181c8ccb20470f4f
SHA256: 72eadeff97932e585bafaae2a2b7c4a760ab258f16c731e30acabb0b92a0ef08