How to Install and Uninstall php8.0 Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: September 28,2024

1. Install "php8.0" package

Please follow the steps below to install php8.0 on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install php8.0

2. Uninstall "php8.0" package

Please follow the guidance below to uninstall php8.0 on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the php8.0 package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: php8.0
Priority: optional
Section: php
Installed-Size: 67
Maintainer: Debian PHP Maintainers
Architecture: all
Version: 1:8.0.22-1+ubuntu18.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.22-1+ubuntu18.04.1+deb.sury.org+1_all.deb
Size: 33396
MD5sum: c4744deaa671e3ed39b540503be7ea26
SHA1: 2d483055b6c7a80b685b1257e35e3bc1f039b135
SHA256: cabbf0bd69dae3cfdd36fcec001a151b1af0e1c34d1e1be79cf0eaadc515cf46
Description: server-side, HTML-embedded scripting language (metapackage)
Description-md5: 86488d7a405bdcbac9ece7c307f30abb