How to Install and Uninstall php7.0-cli Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: November 26,2024

1. Install "php7.0-cli" package

This is a short guide on how to install php7.0-cli on Ubuntu 22.04 LTS (Jammy Jellyfish)

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

2. Uninstall "php7.0-cli" package

This guide covers the steps necessary to uninstall php7.0-cli on Ubuntu 22.04 LTS (Jammy Jellyfish):

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

3. Information about the php7.0-cli package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Package: php7.0-cli
Source: php7.0
Priority: optional
Section: php
Installed-Size: 4480
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.0.33-68+ubuntu22.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+ubuntu22.04.1+deb.sury.org+2), php7.0-json, php7.0-opcache, php7.0-readline, tzdata, ucf, libc6 (>= 2.35), libssl3 (>= 3.0.0~~alpha1), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Filename: pool/main/p/php7.0/php7.0-cli_7.0.33-68+ubuntu22.04.1+deb.sury.org+2_amd64.deb
Size: 1463734
MD5sum: 6eb0fa334a95273fb7e9985ba81d39d9
SHA1: f89e7e0db9f544892e2634ddd3f22fa57885abe2
SHA256: 7e2391c0a27d50227f96b1595b2918eca7a584a02d10d87ca01ce34c568138c9
Description: command-line interpreter for the PHP scripting language
Description-md5: 22825d1d78d475175fcb3e2f13054b4d