How to Install and Uninstall php7.4-cli Package on Ubuntu 21.10 (Impish Indri)

Last updated: November 07,2024

1. Install "php7.4-cli" package

This guide let you learn how to install php7.4-cli on Ubuntu 21.10 (Impish Indri)

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

2. Uninstall "php7.4-cli" package

In this section, we are going to explain the necessary steps to uninstall php7.4-cli on Ubuntu 21.10 (Impish Indri):

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

3. Information about the php7.4-cli package on Ubuntu 21.10 (Impish Indri)

Package: php7.4-cli
Source: php7.4
Priority: optional
Section: php
Installed-Size: 4749
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.4.26-1+ubuntu21.10.1+deb.sury.org+2
Suggests: php-pear
Provides: php-cli, phpapi-20190902
Depends: libedit2 (>= 2.11-20080614-4), libmagic1, mime-support, php7.4-common (= 7.4.26-1+ubuntu21.10.1+deb.sury.org+2), php7.4-json, php7.4-opcache, php7.4-readline, tzdata, ucf, libargon2-1 (>= 0~20171227), libc6 (>= 2.34), libpcre2-8-0 (>= 10.38), libsodium23 (>= 1.0.14), libssl1.1 (>= 1.1.0), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Filename: pool/main/p/php7.4/php7.4-cli_7.4.26-1+ubuntu21.10.1+deb.sury.org+2_amd64.deb
Size: 1573896
MD5sum: 58e292bf540a57b4306b3086ea631913
SHA1: 9a63ab0e4e676c88cb7ca2210a73ea8b6d862e83
SHA256: d81fed45001335ff4fc1a33bc3270c48b2b22df3013e89421b9e5bc701d5151c
Description-en: 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