How to Install and Uninstall php8.2 Package on Ubuntu 22.04 LTS (Jammy Jellyfish)
Last updated: November 23,2024
Notice
You can also install and uninstall the php8.2 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" package
Please follow the guidance below to install php8.2 on Ubuntu 22.04 LTS (Jammy Jellyfish)
$
sudo apt update
Copied
$
sudo apt install
php8.2
Copied
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
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
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
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