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

Last updated: November 25,2024

1. Install "php8.0" package

Here is a brief guide to show you how to install php8.0 on Ubuntu 22.04 LTS (Jammy Jellyfish)

$ sudo apt update $ sudo apt install php8.0

2. Uninstall "php8.0" package

This guide let you learn how to uninstall php8.0 on Ubuntu 22.04 LTS (Jammy Jellyfish):

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

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

Package: php8.0
Priority: optional
Section: php
Installed-Size: 70
Maintainer: Debian PHP Maintainers
Architecture: all
Version: 1:8.0.30-3+ubuntu22.04.1+deb.sury.org+1
Provides: php
Depends: libapache2-mod-php8.0 | php8.0-fpm | php8.0-cgi, php8.0-common
Filename: pool/main/p/php8.0/php8.0_8.0.30-3+ubuntu22.04.1+deb.sury.org+1_all.deb
Size: 36424
MD5sum: cc7af28df978780bac5914ad46e5ff32
SHA1: 7ef4dfd4dd852a808418c4bce101043871f2ca9c
SHA256: 456ce5b07119877ae2b14ff05e3a8d507d5d17557284a06db2cdce810c4c3125
Description: server-side, HTML-embedded scripting language (metapackage)
Description-md5: 86488d7a405bdcbac9ece7c307f30abb

Package: php8.0
Priority: optional
Section: php
Installed-Size: 70
Maintainer: Debian PHP Maintainers
Architecture: all
Version: 1:8.0.30-2+ubuntu22.04.1+deb.sury.org+1
Provides: php
Depends: libapache2-mod-php8.0 | php8.0-fpm | php8.0-cgi, php8.0-common
Filename: pool/main/p/php8.0/php8.0_8.0.30-2+ubuntu22.04.1+deb.sury.org+1_all.deb
Size: 36294
MD5sum: f56f316b3770a97dc21a347ac52449ff
SHA1: 58fbc682d3d9f8e74dc5c2d030ec8ed6f4453ce4
SHA256: ccffa6ff8700800e5037524c7f125f88a052239e23bcfcbe95409531645709ae
Description: server-side, HTML-embedded scripting language (metapackage)
Description-md5: 86488d7a405bdcbac9ece7c307f30abb