How to Install and Uninstall php8.2-cli Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: October 04,2024

1. Install "php8.2-cli" package

This is a short guide on how to install php8.2-cli on Ubuntu 18.04 LTS (Bionic Beaver)

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

2. Uninstall "php8.2-cli" package

Please follow the steps below to uninstall php8.2-cli on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the php8.2-cli package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: php8.2-cli
Source: php8.2
Priority: optional
Section: php
Installed-Size: 5450
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 8.2.0~beta2-1+ubuntu18.04.1+deb.sury.org+1
Suggests: php-pear
Provides: php-cli, php-json, php8.2-json, phpapi-20210903
Depends: libedit2 (>= 2.11-20080614-4), libmagic1, mime-support, php8.2-common (= 8.2.0~beta2-1+ubuntu18.04.1+deb.sury.org+1), php8.2-opcache, php8.2-readline, tzdata, ucf, libargon2-1 (>= 0~20171227), libc6 (>= 2.27), 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.0~beta2-1+ubuntu18.04.1+deb.sury.org+1_amd64.deb
Size: 1667280
MD5sum: d9e14cf9bab39860be17b4adb834c949
SHA1: 28934ae6a81326cada5572a0d48c00fb23628894
SHA256: 6a0430a9e17b79874d89bc40c662f712694b140b603df8c295e5f3f1246fdcd7
Description: command-line interpreter for the PHP scripting language
Description-md5: 863ef0577392567b18d4d0fe134613e6