How to Install and Uninstall php8.0 Package on Debian 10 (Buster)

Last updated: May 18,2024

1. Install "php8.0" package

Here is a brief guide to show you how to install php8.0 on Debian 10 (Buster)

$ sudo apt update $ sudo apt install php8.0

2. Uninstall "php8.0" package

This tutorial shows how to uninstall php8.0 on Debian 10 (Buster):

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

3. Information about the php8.0 package on Debian 10 (Buster)

Package: php8.0
Version: 1:8.0.22-1+0~20220815.40+debian10~1.gbpf6bdf4
Architecture: all
Maintainer: Debian PHP Maintainers
Installed-Size: 67
Depends: libapache2-mod-php8.0 | php8.0-fpm | php8.0-cgi, php8.0-common
Provides: php
Homepage: http://www.php.net/
Priority: optional
Section: php
Filename: pool/main/p/php8.0/php8.0_8.0.22-1+0~20220815.40+debian10~1.gbpf6bdf4_all.deb
Size: 33452
SHA256: 08b6c8a94d454e24de28948ca80d7d6e78a1bfad10b2bf191bfc37b34345327e
SHA1: 711442ea752c3af75180aceb785c26f8a12eba0c
MD5sum: e4eb224488143d2ef1f0e2f00ef72311
Description: server-side, HTML-embedded scripting language (metapackage)
This package is a metapackage that, when installed, guarantees that you
have at least one of the four server-side versions of the PHP interpreter
installed. Removing this package won't remove PHP from your system, however
it may remove other packages that depend on this one.
.
PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used
open source general-purpose scripting language that is especially suited
for web development and can be embedded into HTML.
Description-md5: 86488d7a405bdcbac9ece7c307f30abb