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

Last updated: December 23,2024

1. Install "php7.4-cli" package

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

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

2. Uninstall "php7.4-cli" package

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

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

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

Package: php7.4-cli
Source: php7.4
Priority: optional
Section: php
Installed-Size: 4757
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 1:7.4.33-8+ubuntu22.04.1+deb.sury.org+1
Suggests: php-pear
Provides: php-cli, phpapi-20190902
Depends: libedit2 (>= 2.11-20080614-4), libmagic1, media-types | mime-support, php7.4-common (= 1:7.4.33-8+ubuntu22.04.1+deb.sury.org+1), php7.4-json, php7.4-opcache, php7.4-readline, tzdata, ucf, libargon2-1 (>= 0~20171227), libc6 (>= 2.35), libpcre2-8-0 (>= 10.38), libsodium23 (>= 1.0.14), libssl3 (>= 3.0.0~~alpha1), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Filename: pool/main/p/php7.4/php7.4-cli_7.4.33-8+ubuntu22.04.1+deb.sury.org+1_amd64.deb
Size: 1580580
MD5sum: 25cfc10ed75b2ec4ef3b03544bec743c
SHA1: a1a092199aa1b001699f89c6e343a133243d94c4
SHA256: d84e5b4c4c073951625d8287db922014b5b3877a8a8632e5bad77322cf5c9a6f
Description: command-line interpreter for the PHP scripting language
Description-md5: c850194ec7241c8313985065219b5cdc