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

Last updated: December 28,2024

1. Install "php7.0" package

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

$ sudo apt update $ sudo apt install php7.0

2. Uninstall "php7.0" package

In this section, we are going to explain the necessary steps to uninstall php7.0 on Ubuntu 21.10 (Impish Indri):

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

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

Package: php7.0
Priority: optional
Section: php
Installed-Size: 85
Maintainer: Debian PHP Maintainers
Architecture: all
Version: 7.0.33-57+ubuntu21.10.1+deb.sury.org+1
Provides: php
Depends: libapache2-mod-php7.0 | php7.0-fpm | php7.0-cgi, php7.0-common
Filename: pool/main/p/php7.0/php7.0_7.0.33-57+ubuntu21.10.1+deb.sury.org+1_all.deb
Size: 60808
MD5sum: eb91a455206e3292307e7f0f8c47e80f
SHA1: 6888f53c3065c5986aec2127f897e478d5d50089
SHA256: 7d44d7748e00d077dde0002c62e8f74c077fce6dfbac8285dd660e465b2810f2
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