How to Install and Uninstall php8.2-cli Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: November 14,2024

1. Install "php8.2-cli" package

Please follow the steps below to install php8.2-cli on Ubuntu 20.04 LTS (Focal Fossa)

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

2. Uninstall "php8.2-cli" package

This guide covers the steps necessary to uninstall php8.2-cli on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the php8.2-cli package on Ubuntu 20.04 LTS (Focal Fossa)

Package: php8.2-cli
Source: php8.2
Priority: optional
Section: php
Installed-Size: 5618
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 8.2.15-1+ubuntu20.04.1+deb.sury.org+1
Suggests: php-pear
Provides: php-cli, php-json, php8.2-json, phpapi-20220829
Depends: libedit2 (>= 2.11-20080614-4), libmagic1, media-types | mime-support, php8.2-common (= 8.2.15-1+ubuntu20.04.1+deb.sury.org+1), php8.2-opcache, php8.2-readline, tzdata, ucf, libargon2-1 (>= 0~20171227), libc6 (>= 2.29), libpcre2-8-0 (>= 10.38), libsodium23 (>= 1.0.18), libssl1.1 (>= 1.1.1), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Filename: pool/main/p/php8.2/php8.2-cli_8.2.15-1+ubuntu20.04.1+deb.sury.org+1_amd64.deb
Size: 1712580
MD5sum: 9d49da4c4d3848f0164c7452c23496e0
SHA1: 81df1544e842416d88bae7d35f0fec210947dc23
SHA256: d51e1e99475da42f148262c77afbd8bec4d02961d48714ad715045b9ff64c034
Description: command-line interpreter for the PHP scripting language
Description-md5: 863ef0577392567b18d4d0fe134613e6