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

Last updated: May 14,2024

1. Install "php7.1" package

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

$ sudo apt update $ sudo apt install php7.1

2. Uninstall "php7.1" package

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

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

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

Package: php7.1
Version: 7.1.33-47+0~20220627.68+debian10~1.gbp1fc917
Architecture: all
Maintainer: Debian PHP Maintainers
Installed-Size: 91
Depends: libapache2-mod-php7.1 | php7.1-fpm | php7.1-cgi, php7.1-common
Provides: php
Homepage: http://www.php.net/
Priority: optional
Section: php
Filename: pool/main/p/php7.1/php7.1_7.1.33-47+0~20220627.68+debian10~1.gbp1fc917_all.deb
Size: 67516
SHA256: 50dabaec71b498bd579eac0d2e1acf18e111425ba6a47b183201346100b7afe4
SHA1: 4696460527b48b396298fd1831c60ad3dcb52079
MD5sum: 72cd6decd808b5354e2cb925a021f65b
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