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

Last updated: November 14,2024

1. Install "php7.2-cli" package

Learn how to install php7.2-cli on Ubuntu 22.04 LTS (Jammy Jellyfish)

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

2. Uninstall "php7.2-cli" package

Learn how to uninstall php7.2-cli on Ubuntu 22.04 LTS (Jammy Jellyfish):

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

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

Package: php7.2-cli
Source: php7.2
Priority: optional
Section: php
Installed-Size: 5006
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.2.34-43+ubuntu22.04.1+deb.sury.org+1
Suggests: php-pear
Provides: php-cli, phpapi-20170718
Depends: libedit2 (>= 2.11-20080614-4), libmagic1, libpcre3 (>= 2:8.41), media-types | mime-support, php7.2-common (= 7.2.34-43+ubuntu22.04.1+deb.sury.org+1), php7.2-json, php7.2-opcache, php7.2-readline, tzdata, ucf, libargon2-1 (>= 0~20171227), libc6 (>= 2.35), libsodium23 (>= 1.0.14), libssl3 (>= 3.0.0~~alpha1), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Filename: pool/main/p/php7.2/php7.2-cli_7.2.34-43+ubuntu22.04.1+deb.sury.org+1_amd64.deb
Size: 1589246
MD5sum: 46df19b55c7aa818c0a387770dd29708
SHA1: 4c7364c25c3aa45860f232342cce68c079e441e2
SHA256: 09a73d849e9f15581c12d80dbf360f2e219a4bdcc47a236082ae2d6c2e544b1a
Description: command-line interpreter for the PHP scripting language
Description-md5: a7d0565e0b51caaecc1b552461abc0a6