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

Last updated: May 20,2024

1. Install "php7.0" package

Here is a brief guide to show you how to install php7.0 on Debian 10 (Buster)

$ sudo apt update $ sudo apt install php7.0

2. Uninstall "php7.0" package

This guide covers the steps necessary to uninstall php7.0 on Debian 10 (Buster):

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

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

Package: php7.0
Version: 7.0.33-60+0~20220627.68+debian10~1.gbp3d361a
Architecture: all
Maintainer: Debian PHP Maintainers
Installed-Size: 85
Depends: libapache2-mod-php7.0 | php7.0-fpm | php7.0-cgi, php7.0-common
Provides: php
Homepage: http://www.php.net/
Priority: optional
Section: php
Filename: pool/main/p/php7.0/php7.0_7.0.33-60+0~20220627.68+debian10~1.gbp3d361a_all.deb
Size: 61396
SHA256: 630485c7678b402b5a98a6fcf8d992f6a53232c356a96e952f2e513b8bb3b7cc
SHA1: ae0f117aef3e0428e90855a7fd869f11e2eb0592
MD5sum: ddabb9d3de94adf615b6fe4d15b55a03
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