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

Last updated: July 05,2024

1. Install "php8.2" package

In this section, we are going to explain the necessary steps to install php8.2 on Debian 10 (Buster)

$ sudo apt update $ sudo apt install php8.2

2. Uninstall "php8.2" package

Please follow the guidelines below to uninstall php8.2 on Debian 10 (Buster):

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

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

Package: php8.2
Version: 8.2.0~beta2-1+0~20220815.2+debian10~1.gbp151e57
Architecture: all
Maintainer: Debian PHP Maintainers
Installed-Size: 56
Depends: libapache2-mod-php8.2 | php8.2-fpm | php8.2-cgi, php8.2-common
Provides: php
Homepage: http://www.php.net/
Priority: optional
Section: php
Filename: pool/main/p/php8.2/php8.2_8.2.0~beta2-1+0~20220815.2+debian10~1.gbp151e57_all.deb
Size: 21272
SHA256: 1cb6cdd7bb74cfb2a6f0ff341346b53108eef52e1eb87b99a9a1b2907d7cab3e
SHA1: 2b7e8dda8be64551c6bfae718d8fc3e59c316ac0
MD5sum: 0b28014dd140357e49fb151923c8b4bf
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