How to Install and Uninstall php8.1 Package on Debian 12 (Bookworm)
Last updated: December 25,2024
Notice
You can also install and uninstall the php8.1 on the following distributions in the same way, as they are all based on the Debian system
- MX Linux 23
- SparkyLinux
1. Install "php8.1" package
This guide let you learn how to install php8.1 on Debian 12 (Bookworm)
$
sudo apt update
Copied
$
sudo apt install
php8.1
Copied
2. Uninstall "php8.1" package
This tutorial shows how to uninstall php8.1 on Debian 12 (Bookworm):
$
sudo apt remove
php8.1
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the php8.1 package on Debian 12 (Bookworm)
Package: php8.1
Version: 8.1.27-1+0~20231221.58+debian12~1.gbp3895b2
Architecture: all
Maintainer: Debian PHP Maintainers
Installed-Size: 71
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.27-1+0~20231221.58+debian12~1.gbp3895b2_all.deb
Size: 37412
SHA256: a1874876b1b47eba904ac870bfbe1c96ed318aad57d26f7619ef97aec15ba028
SHA1: 0b15c79ddffc0e58b5246a75a18d090f317f2908
MD5sum: 130b263d998757ab86254105970f8a34
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
Version: 8.1.27-1+0~20231221.58+debian12~1.gbp3895b2
Architecture: all
Maintainer: Debian PHP Maintainers
Installed-Size: 71
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.27-1+0~20231221.58+debian12~1.gbp3895b2_all.deb
Size: 37412
SHA256: a1874876b1b47eba904ac870bfbe1c96ed318aad57d26f7619ef97aec15ba028
SHA1: 0b15c79ddffc0e58b5246a75a18d090f317f2908
MD5sum: 130b263d998757ab86254105970f8a34
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