How to Install and Uninstall php5.6 Package on Debian 10 (Buster)

Last updated: November 26,2024

1. Install "php5.6" package

Please follow the instructions below to install php5.6 on Debian 10 (Buster)

$ sudo apt update $ sudo apt install php5.6

2. Uninstall "php5.6" package

In this section, we are going to explain the necessary steps to uninstall php5.6 on Debian 10 (Buster):

$ sudo apt remove php5.6 $ sudo apt autoclean && sudo apt autoremove

3. Information about the php5.6 package on Debian 10 (Buster)

Package: php5.6
Version: 5.6.40-60+0~20220627.67+debian10~1.gbp1f7ffd
Architecture: all
Maintainer: Debian PHP Maintainers
Installed-Size: 286
Depends: libapache2-mod-php5.6 | php5.6-fpm | php5.6-cgi, php5.6-common
Provides: php
Homepage: http://www.php.net/
Priority: optional
Section: php
Filename: pool/main/p/php5.6/php5.6_5.6.40-60+0~20220627.67+debian10~1.gbp1f7ffd_all.deb
Size: 268408
SHA256: c41191c426bb62f1dc33e90dedfb718f4b12a97e9b60663478cca6fae3afb9fb
SHA1: a553ab6881c79c5726e8cd5aa3704f68f65161bc
MD5sum: 03f4fd5a26533b883a549aae9ae2825b
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