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

Last updated: November 08,2024

1. Install "php7.0-cli" package

Please follow the guidelines below to install php7.0-cli on Ubuntu 21.10 (Impish Indri)

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

2. Uninstall "php7.0-cli" package

This is a short guide on how to uninstall php7.0-cli on Ubuntu 21.10 (Impish Indri):

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

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

Package: php7.0-cli
Source: php7.0
Priority: optional
Section: php
Installed-Size: 4480
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.0.33-57+ubuntu21.10.1+deb.sury.org+1
Suggests: php-pear
Provides: php-cli, phpapi-20151012
Depends: libedit2 (>= 2.11-20080614-4), libmagic1, libpcre3 (>= 2:8.35), mime-support, php7.0-common (= 7.0.33-57+ubuntu21.10.1+deb.sury.org+1), php7.0-json, php7.0-opcache, php7.0-readline, tzdata, ucf, libc6 (>= 2.34), libssl1.1 (>= 1.1.0), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Filename: pool/main/p/php7.0/php7.0-cli_7.0.33-57+ubuntu21.10.1+deb.sury.org+1_amd64.deb
Size: 1457524
MD5sum: 974d6b9cb0f761bc6534b27538037a6d
SHA1: dd8899927d8e52f20f2b9d6b83edf687afb4a245
SHA256: 841e3c2fc9c0ebf43169a1fabd1d79cb4f2e6253eab6ccd829d64cc81611925b
Description-en: command-line interpreter for the PHP scripting language
This package provides the /usr/bin/php7.0 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 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: 22825d1d78d475175fcb3e2f13054b4d