How to Install and Uninstall php8.0 Package on Debian 11 (Bullseye)

Last updated: September 27,2024

1. Install "php8.0" package

Please follow the steps below to install php8.0 on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install php8.0

2. Uninstall "php8.0" package

Please follow the step by step instructions below to uninstall php8.0 on Debian 11 (Bullseye):

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

3. Information about the php8.0 package on Debian 11 (Bullseye)

Package: php8.0
Version: 1:8.0.22-1+0~20220815.40+debian11~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+debian11~1.gbpf6bdf4_all.deb
Size: 33444
SHA256: 6966aece6b8ad5c7b46dfd1c4fa28c30fea561b624edc617d9c37e71aada1dca
SHA1: 736ca3ec37a447b47cd054387950ca74493e34de
MD5sum: 271e2e42c369da6a718d62aa84411a01
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