How to Install and Uninstall php7.2 Package on Ubuntu 21.10 (Impish Indri)
Last updated: November 23,2024
1. Install "php7.2" package
Here is a brief guide to show you how to install php7.2 on Ubuntu 21.10 (Impish Indri)
$
sudo apt update
Copied
$
sudo apt install
php7.2
Copied
2. Uninstall "php7.2" package
This tutorial shows how to uninstall php7.2 on Ubuntu 21.10 (Impish Indri):
$
sudo apt remove
php7.2
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the php7.2 package on Ubuntu 21.10 (Impish Indri)
Package: php7.2
Priority: optional
Section: php
Installed-Size: 89
Maintainer: Debian PHP Maintainers
Architecture: all
Version: 7.2.34-28+ubuntu21.10.1+deb.sury.org+1
Provides: php
Depends: libapache2-mod-php7.2 | php7.2-fpm | php7.2-cgi, php7.2-common
Filename: pool/main/p/php7.2/php7.2_7.2.34-28+ubuntu21.10.1+deb.sury.org+1_all.deb
Size: 56572
MD5sum: d3df7b21aaccaf556a7c82660eb789f1
SHA1: 6d3890c3e4be965d74234ce6bc74def1676d537d
SHA256: 6bcde57fa7b1518d718c4a629535e84ac4dce1afcd806568397f36df24de7eb8
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
Priority: optional
Section: php
Installed-Size: 89
Maintainer: Debian PHP Maintainers
Architecture: all
Version: 7.2.34-28+ubuntu21.10.1+deb.sury.org+1
Provides: php
Depends: libapache2-mod-php7.2 | php7.2-fpm | php7.2-cgi, php7.2-common
Filename: pool/main/p/php7.2/php7.2_7.2.34-28+ubuntu21.10.1+deb.sury.org+1_all.deb
Size: 56572
MD5sum: d3df7b21aaccaf556a7c82660eb789f1
SHA1: 6d3890c3e4be965d74234ce6bc74def1676d537d
SHA256: 6bcde57fa7b1518d718c4a629535e84ac4dce1afcd806568397f36df24de7eb8
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