How to Install and Uninstall php8.2-cli Package on Ubuntu 22.04 LTS (Jammy Jellyfish)
Last updated: December 28,2024
Notice
You can also install and uninstall the php8.2-cli on the following distributions in the same way, as they are all based on the Ubuntu system
- Kubuntu 22.04 LTS
- Lubuntu 22.04 LTS
- Xubuntu 22.04 LTS
- Ubuntu MATE 22.04 LTS
- Ubuntu Studio 22.04 LTS
- Pop!_OS 22.04 LTS
- Zorin OS 16 / Zorin OS 17
- Ubuntu Budgie 22.04
1. Install "php8.2-cli" package
Here is a brief guide to show you how to install php8.2-cli on Ubuntu 22.04 LTS (Jammy Jellyfish)
$
sudo apt update
Copied
$
sudo apt install
php8.2-cli
Copied
2. Uninstall "php8.2-cli" package
Here is a brief guide to show you how to uninstall php8.2-cli on Ubuntu 22.04 LTS (Jammy Jellyfish):
$
sudo apt remove
php8.2-cli
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the php8.2-cli package on Ubuntu 22.04 LTS (Jammy Jellyfish)
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
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