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

Last updated: May 18,2024

1. Install "php8.1" package

Please follow the step by step instructions below to install php8.1 on Debian 10 (Buster)

$ sudo apt update $ sudo apt install php8.1

2. Uninstall "php8.1" package

Here is a brief guide to show you how to uninstall php8.1 on Debian 10 (Buster):

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

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

Package: php8.1
Version: 8.1.9-1+0~20220815.24+debian10~1.gbp4d5b5a
Architecture: all
Maintainer: Debian PHP Maintainers
Installed-Size: 62
Depends: libapache2-mod-php8.1 | php8.1-fpm | php8.1-cgi, php8.1-common
Provides: php
Homepage: http://www.php.net/
Priority: optional
Section: php
Filename: pool/main/p/php8.1/php8.1_8.1.9-1+0~20220815.24+debian10~1.gbp4d5b5a_all.deb
Size: 26936
SHA256: e143f9c274ba566496162bdd43a5552844cd9599b89f15a0be43dcd59213071b
SHA1: 099125e953afc17eb141587b1db21bb222bc50af
MD5sum: 4263bfde484fcba68059c88d3ef49829
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