How to Install and Uninstall php8.2-cli Package on Linux Mint 21.3 (Virginia)

Last updated: May 18,2024

1. Install "php8.2-cli" package

This guide covers the steps necessary to install php8.2-cli on Linux Mint 21.3 (Virginia)

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

2. Uninstall "php8.2-cli" package

Please follow the guidelines below to uninstall php8.2-cli on Linux Mint 21.3 (Virginia):

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

3. Information about the php8.2-cli package on Linux Mint 21.3 (Virginia)

Package: php8.2-cli
Source: php8.2
Priority: optional
Section: php
Installed-Size: 5601
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 8.2.16-3+ubuntu22.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.16-3+ubuntu22.04.1+deb.sury.org+1), php8.2-opcache, php8.2-readline, tzdata, ucf, libargon2-1 (>= 0~20171227), libc6 (>= 2.35), libpcre2-8-0 (>= 10.38), libsodium23 (>= 1.0.18), libssl3 (>= 3.0.0~~alpha1), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Filename: pool/main/p/php8.2/php8.2-cli_8.2.16-3+ubuntu22.04.1+deb.sury.org+1_amd64.deb
Size: 1887154
MD5sum: 3d5374f5b993e078fd9238c90d7b2446
SHA1: 8b0bb42042ac1b104d4a544e98d49680ec169643
SHA256: cbb2a6fd3b1b8690205cc736f7aabad08af9812ed1db235332a76b6d2e2d22a1
Description: command-line interpreter for the PHP scripting language
Description-md5: 863ef0577392567b18d4d0fe134613e6