How to Install and Uninstall php7.4 Package on Debian 10 (Buster)

Last updated: May 10,2024

1. Install "php7.4" package

This tutorial shows how to install php7.4 on Debian 10 (Buster)

$ sudo apt update $ sudo apt install php7.4

2. Uninstall "php7.4" package

Please follow the instructions below to uninstall php7.4 on Debian 10 (Buster):

$ sudo apt remove php7.4 $ sudo apt autoclean && sudo apt autoremove

3. Information about the php7.4 package on Debian 10 (Buster)

Package: php7.4
Version: 1:7.4.30-3+0~20220627.69+debian10~1.gbpf2b381
Architecture: all
Maintainer: Debian PHP Maintainers
Installed-Size: 84
Depends: libapache2-mod-php7.4 | php7.4-fpm | php7.4-cgi, php7.4-common
Provides: php
Homepage: http://www.php.net/
Priority: optional
Section: php
Filename: pool/main/p/php7.4/php7.4_7.4.30-3+0~20220627.69+debian10~1.gbpf2b381_all.deb
Size: 50188
SHA256: 6edca6033899b51f8c430204f97ce0e9dabfaabbb4730df4696a2f2ef16a04fd
SHA1: 9295c3dba0ba00d5242b5816cea1013d7b0e2626
MD5sum: ce63089b5f6b487c111d230bbd3cf6b2
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