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

Last updated: December 24,2024

1. Install "php8.0-cli" package

Please follow the instructions below to install php8.0-cli on Ubuntu 22.04 LTS (Jammy Jellyfish)

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

2. Uninstall "php8.0-cli" package

Please follow the guidance below to uninstall php8.0-cli on Ubuntu 22.04 LTS (Jammy Jellyfish):

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

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

Package: php8.0-cli
Source: php8.0
Priority: optional
Section: php
Installed-Size: 4942
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 1:8.0.30-3+ubuntu22.04.1+deb.sury.org+1
Suggests: php-pear
Provides: php-cli, php-json, php8.0-json, phpapi-20200930
Depends: libedit2 (>= 2.11-20080614-4), libmagic1, media-types | mime-support, php8.0-common (= 1:8.0.30-3+ubuntu22.04.1+deb.sury.org+1), php8.0-opcache, php8.0-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/php8.0/php8.0-cli_8.0.30-3+ubuntu22.04.1+deb.sury.org+1_amd64.deb
Size: 1634508
MD5sum: e29cadc04943e50dfe2bacb431d910a6
SHA1: 560c73501d4ea5b15cafe254c5ad2898c457cdbe
SHA256: bcda7fb06dd774181c1d31f3276450f3826a3dd92838b2f3d9e0b24165cc0032
Description: command-line interpreter for the PHP scripting language
Description-md5: 12cfe9b7356136066b6534d6fa3b22c8