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

Last updated: November 23,2024

1. Install "php8.2" package

Please follow the guidance below to install php8.2 on Ubuntu 22.04 LTS (Jammy Jellyfish)

$ sudo apt update $ sudo apt install php8.2

2. Uninstall "php8.2" package

This tutorial shows how to uninstall php8.2 on Ubuntu 22.04 LTS (Jammy Jellyfish):

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

3. Information about the php8.2 package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Package: php8.2
Priority: optional
Section: php
Installed-Size: 72
Maintainer: Debian PHP Maintainers
Architecture: all
Version: 8.2.16-3+ubuntu22.04.1+deb.sury.org+1
Provides: php
Depends: libapache2-mod-php8.2 | php8.2-fpm | php8.2-cgi, php8.2-common
Filename: pool/main/p/php8.2/php8.2_8.2.16-3+ubuntu22.04.1+deb.sury.org+1_all.deb
Size: 38966
MD5sum: 418caa070846984554eca876725ad99f
SHA1: a488126acccf57f7a57c9a741decd2b876ccffa5
SHA256: 100566fa2ec20d580c30f07f229e9d481b5e7f2bf4fc85a31bcd420838f1e6a5
Description: server-side, HTML-embedded scripting language (metapackage)
Description-md5: 86488d7a405bdcbac9ece7c307f30abb