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

Last updated: June 25,2024

1. Install "php8.0" package

This guide covers the steps necessary to install php8.0 on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install php8.0

2. Uninstall "php8.0" package

Please follow the steps below to uninstall php8.0 on Ubuntu 21.10 (Impish Indri):

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

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

Package: php8.0
Priority: optional
Section: php
Installed-Size: 64
Maintainer: Debian PHP Maintainers
Architecture: all
Version: 8.0.13-1+ubuntu21.10.1+deb.sury.org+2
Provides: php
Depends: libapache2-mod-php8.0 | php8.0-fpm | php8.0-cgi, php8.0-common
Filename: pool/main/p/php8.0/php8.0_8.0.13-1+ubuntu21.10.1+deb.sury.org+2_all.deb
Size: 30040
MD5sum: 7272fb827b4627892461e97228b05301
SHA1: 4cdbdc9b600684a5753a340f76fea491d29eedff
SHA256: 501b9665c330b49097b664827613be945d33c013dec2053ef9c69eacb60cdae2
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

Package: php8.0
Architecture: all
Version: 8.0.8-1ubuntu0.1
Priority: optional
Section: php
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 62
Provides: php
Depends: libapache2-mod-php8.0 | php8.0-fpm | php8.0-cgi, php8.0-common
Filename: pool/main/p/php8.0/php8.0_8.0.8-1ubuntu0.1_all.deb
Size: 9164
MD5sum: 797051c4c25d735eea8f3d2ca2fd078d
SHA1: 5ad1807bada9c62907dfa19377c71f86f603fa49
SHA256: 5c21da8198421b3e7bbb97c1e66e8d9a03063deec2786acf7e0302fc3177a6f6
SHA512: 0fe5e5160212e65242c3731e3cf6edeaf926b731003938bf6aa52c41f4118a32e147327fee19864848850af95d822f0bb6c63d8cb886b5a13b0994c40ece7bf4
Homepage: http://www.php.net/
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

Package: php8.0
Architecture: all
Version: 8.0.8-1build1
Priority: optional
Section: php
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 62
Provides: php
Depends: libapache2-mod-php8.0 | php8.0-fpm | php8.0-cgi, php8.0-common
Filename: pool/main/p/php8.0/php8.0_8.0.8-1build1_all.deb
Size: 9172
MD5sum: c444214e5fba97331f23a8de7c9ab8b8
SHA1: 724d545775083ecfb8817d2fd8d3964abc609f17
SHA256: cab29254db65161bb05dd5a268669c661ca8ca3d81332e6ccd339b4647a72d1f
SHA512: 0eca3366b356b728cdb0a5d281f2c3ed9e426b9a74af476947736342b5782a1d8552583823fc5513457ac9e809ac9f4febfeda0680a43578ab9d4389b3df6faf
Homepage: http://www.php.net/
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