How to Install and Uninstall php7.0-cli Package on Ubuntu 20.04 LTS (Focal Fossa)
Last updated: November 14,2024
1. Install "php7.0-cli" package
In this section, we are going to explain the necessary steps to install php7.0-cli on Ubuntu 20.04 LTS (Focal Fossa)
$
sudo apt update
Copied
$
sudo apt install
php7.0-cli
Copied
2. Uninstall "php7.0-cli" package
This tutorial shows how to uninstall php7.0-cli on Ubuntu 20.04 LTS (Focal Fossa):
$
sudo apt remove
php7.0-cli
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the php7.0-cli package on Ubuntu 20.04 LTS (Focal Fossa)
Package: php7.0-cli
Source: php7.0
Priority: optional
Section: php
Installed-Size: 4485
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.0.33-68+ubuntu20.04.1+deb.sury.org+2
Suggests: php-pear
Provides: php-cli, phpapi-20151012
Depends: libedit2 (>= 2.11-20080614-4), libmagic1, libpcre3 (>= 2:8.41), media-types | mime-support, php7.0-common (= 7.0.33-68+ubuntu20.04.1+deb.sury.org+2), php7.0-json, php7.0-opcache, php7.0-readline, tzdata, ucf, libc6 (>= 2.29), 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-68+ubuntu20.04.1+deb.sury.org+2_amd64.deb
Size: 1324656
MD5sum: 0062bde4ed5c417aed961878b7381557
SHA1: e9664fc968b01ff64a74d8e2fef4f7b6f5ab6958
SHA256: ed28ba7e23e5117218c02b4e0d8b5774762bdf0547921f36093fdfe00072f297
Description: command-line interpreter for the PHP scripting language
Description-md5: 22825d1d78d475175fcb3e2f13054b4d
Source: php7.0
Priority: optional
Section: php
Installed-Size: 4485
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.0.33-68+ubuntu20.04.1+deb.sury.org+2
Suggests: php-pear
Provides: php-cli, phpapi-20151012
Depends: libedit2 (>= 2.11-20080614-4), libmagic1, libpcre3 (>= 2:8.41), media-types | mime-support, php7.0-common (= 7.0.33-68+ubuntu20.04.1+deb.sury.org+2), php7.0-json, php7.0-opcache, php7.0-readline, tzdata, ucf, libc6 (>= 2.29), 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-68+ubuntu20.04.1+deb.sury.org+2_amd64.deb
Size: 1324656
MD5sum: 0062bde4ed5c417aed961878b7381557
SHA1: e9664fc968b01ff64a74d8e2fef4f7b6f5ab6958
SHA256: ed28ba7e23e5117218c02b4e0d8b5774762bdf0547921f36093fdfe00072f297
Description: command-line interpreter for the PHP scripting language
Description-md5: 22825d1d78d475175fcb3e2f13054b4d