How to Install and Uninstall php7.4-cli Package on Debian 10 (Buster)

Last updated: November 07,2024

1. Install "php7.4-cli" package

Please follow the guidance below to install php7.4-cli on Debian 10 (Buster)

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

2. Uninstall "php7.4-cli" package

This tutorial shows how to uninstall php7.4-cli on Debian 10 (Buster):

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

3. Information about the php7.4-cli package on Debian 10 (Buster)

Package: php7.4-cli
Source: php7.4
Version: 1:7.4.30-3+0~20220627.69+debian10~1.gbpf2b381
Architecture: amd64
Maintainer: Debian PHP Maintainers
Installed-Size: 4689
Depends: libedit2 (>= 2.11-20080614-4), libmagic1, mime-support, php7.4-common (= 1:7.4.30-3+0~20220627.69+debian10~1.gbpf2b381), php7.4-json, php7.4-opcache, php7.4-readline, tzdata, ucf, libargon2-1 (>= 0~20171227), libc6 (>= 2.27), 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+debian10~1.gbpf2b381_amd64.deb
Size: 1430484
SHA256: 9ba3fd745c4593c29b5ab5dfaec8f3cd3c53b0977c000d168a81993929b24f7b
SHA1: ff39d9ec4edef7c3fb8a7a5118e307dd4adb8aac
MD5sum: 4321f1d166c706bad4274938f8413812
Description: command-line interpreter for the PHP scripting language
This package provides the /usr/bin/php7.4 command interpreter, useful for
testing PHP scripts from a shell or performing general shell scripting tasks.
.
The following extensions are built in: Core date filter hash libxml openssl
pcntl pcre Reflection session sodium 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: c850194ec7241c8313985065219b5cdc