How to Install and Uninstall php7.1 Package on Ubuntu 21.10 (Impish Indri)

Last updated: July 01,2024

1. Install "php7.1" package

Please follow the step by step instructions below to install php7.1 on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install php7.1

2. Uninstall "php7.1" package

This guide let you learn how to uninstall php7.1 on Ubuntu 21.10 (Impish Indri):

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

3. Information about the php7.1 package on Ubuntu 21.10 (Impish Indri)

Package: php7.1
Priority: optional
Section: php
Installed-Size: 91
Maintainer: Debian PHP Maintainers
Architecture: all
Version: 7.1.33-44+ubuntu21.10.1+deb.sury.org+1
Provides: php
Depends: libapache2-mod-php7.1 | php7.1-fpm | php7.1-cgi, php7.1-common
Filename: pool/main/p/php7.1/php7.1_7.1.33-44+ubuntu21.10.1+deb.sury.org+1_all.deb
Size: 66898
MD5sum: 46aeb45c664ccae7f24cf2072594b743
SHA1: 69e4d5f6794054b45bd0466d69fddaea4758a93d
SHA256: ddf865026b409169bd9cbee73f3f25d583baccdcbe004b74e986ea1ba351c831
Description-en: 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