How to Install and Uninstall php7.4-cli Package on Debian 11 (Bullseye)

Last updated: November 23,2024

1. Install "php7.4-cli" package

In this section, we are going to explain the necessary steps to install php7.4-cli on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install php7.4-cli

2. Uninstall "php7.4-cli" package

This guide covers the steps necessary to uninstall php7.4-cli on Debian 11 (Bullseye):

$ sudo apt remove php7.4-cli $ sudo apt autoclean && sudo apt autoremove

3. Information about the php7.4-cli package on Debian 11 (Bullseye)

Package: php7.4-cli
Source: php7.4
Version: 1:7.4.30-3+0~20220627.69+debian11~1.gbpf2b381
Architecture: amd64
Maintainer: Debian PHP Maintainers
Installed-Size: 4708
Depends: libedit2 (>= 2.11-20080614-4), libmagic1, mime-support, php7.4-common (= 1:7.4.30-3+0~20220627.69+debian11~1.gbpf2b381), php7.4-json, php7.4-opcache, php7.4-readline, tzdata, ucf, libargon2-1 (>= 0~20171227), libc6 (>= 2.29), libpcre2-8-0 (>= 10.38), libsodium23 (>= 1.0.14), libssl1.1 (>= 1.1.0), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Suggests: php-pear
Provides: php-cli, phpapi-20190902
Homepage: http://www.php.net/
Priority: optional
Section: php
Filename: pool/main/p/php7.4/php7.4-cli_7.4.30-3+0~20220627.69+debian11~1.gbpf2b381_amd64.deb
Size: 1428600
SHA256: fcc28fe17abdd38387cb0a5e27e1520b24f99bda95c285b9741835d23ef5ce26
SHA1: 8ab1230d63262d8b3d6979564800d878ed3e4175
MD5sum: bab8e64c5a0f30298a8e75129ae9de29
Description: command-line interpreter for the PHP scripting language
Description-md5: c850194ec7241c8313985065219b5cdc

Package: php7.4-cli
Source: php7.4
Version: 7.4.30-1+deb11u1
Installed-Size: 4704
Maintainer: Debian PHP Maintainers
Architecture: amd64
Provides: php-cli, phpapi-20190902
Depends: libedit2 (>= 2.11-20080614-4), libmagic1, mime-support, php7.4-common (= 7.4.30-1+deb11u1), php7.4-json, php7.4-opcache, php7.4-readline, tzdata, ucf, libargon2-1 (>= 0~20171227), libc6 (>= 2.29), libpcre2-8-0 (>= 10.32), libsodium23 (>= 1.0.14), libssl1.1 (>= 1.1.0), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Suggests: php-pear
Description: command-line interpreter for the PHP scripting language
Description-md5: c850194ec7241c8313985065219b5cdc
Homepage: http://www.php.net/
Section: php
Priority: optional
Filename: pool/updates/main/p/php7.4/php7.4-cli_7.4.30-1+deb11u1_amd64.deb
Size: 1428140
SHA256: 3905c8f1f421aa9a04ae4e00b641d92f90c0d9ee04ef0e44e6acf4c830ba1f0b

Package: php7.4-cli
Source: php7.4
Version: 7.4.28-1+deb11u1
Installed-Size: 4704
Maintainer: Debian PHP Maintainers
Architecture: amd64
Provides: php-cli, phpapi-20190902
Depends: libedit2 (>= 2.11-20080614-4), libmagic1, mime-support, php7.4-common (= 7.4.28-1+deb11u1), php7.4-json, php7.4-opcache, php7.4-readline, tzdata, ucf, libargon2-1 (>= 0~20171227), libc6 (>= 2.29), libpcre2-8-0 (>= 10.32), libsodium23 (>= 1.0.14), libssl1.1 (>= 1.1.0), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Suggests: php-pear
Description: command-line interpreter for the PHP scripting language
Description-md5: c850194ec7241c8313985065219b5cdc
Homepage: http://www.php.net/
Section: php
Priority: optional
Filename: pool/main/p/php7.4/php7.4-cli_7.4.28-1+deb11u1_amd64.deb
Size: 1428008
MD5sum: 92d9737ac01a6d657df3d76d54f66c22
SHA256: 6aed9d09832f10b10f373f23e6f04d1df2cb509760888706def3c9e994ab1e70