How to Install and Uninstall php8.1 Package on Ubuntu 20.04 LTS (Focal Fossa)
Last updated: November 24,2024
1. Install "php8.1" package
Please follow the guidelines below to install php8.1 on Ubuntu 20.04 LTS (Focal Fossa)
$
sudo apt update
Copied
$
sudo apt install
php8.1
Copied
2. Uninstall "php8.1" package
This guide let you learn how to uninstall php8.1 on Ubuntu 20.04 LTS (Focal Fossa):
$
sudo apt remove
php8.1
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the php8.1 package on Ubuntu 20.04 LTS (Focal Fossa)
Package: php8.1
Priority: optional
Section: php
Installed-Size: 73
Maintainer: Debian PHP Maintainers
Architecture: all
Version: 8.1.27-1+ubuntu20.04.1+deb.sury.org+1
Provides: php
Depends: libapache2-mod-php8.1 | php8.1-fpm | php8.1-cgi, php8.1-common
Filename: pool/main/p/php8.1/php8.1_8.1.27-1+ubuntu20.04.1+deb.sury.org+1_all.deb
Size: 39980
MD5sum: 9b664d738bed1986f18fa2008a408d54
SHA1: c57f33170ec6edfc157876b28981006c52e0c5cc
SHA256: da38e784ae6c614b0d856acd4bb876bff3f216c8acf71a412ab975c46fde1f2f
Description: server-side, HTML-embedded scripting language (metapackage)
Description-md5: 86488d7a405bdcbac9ece7c307f30abb
Package: php8.1
Priority: optional
Section: php
Installed-Size: 59
Maintainer: Debian PHP Maintainers
Architecture: all
Version: 8.1.7-2+ubuntu20.04.1+deb.sury.org+1
Provides: php
Depends: libapache2-mod-php8.1 | php8.1-fpm | php8.1-cgi, php8.1-common
Filename: pool/main/p/php8.1/php8.1_8.1.7-2+ubuntu20.04.1+deb.sury.org+1_all.deb
Size: 25512
MD5sum: c69db726fd9bdc5a49705c1639bb3e2f
SHA1: c98a2d9f441e89170f87ec312fd717afa0cd326b
SHA256: 78e6a0c4d003b59285f09f4099608d41a6d580003cbccb3273892c55dda360d9
Description: server-side, HTML-embedded scripting language (metapackage)
Description-md5: 86488d7a405bdcbac9ece7c307f30abb
Priority: optional
Section: php
Installed-Size: 73
Maintainer: Debian PHP Maintainers
Architecture: all
Version: 8.1.27-1+ubuntu20.04.1+deb.sury.org+1
Provides: php
Depends: libapache2-mod-php8.1 | php8.1-fpm | php8.1-cgi, php8.1-common
Filename: pool/main/p/php8.1/php8.1_8.1.27-1+ubuntu20.04.1+deb.sury.org+1_all.deb
Size: 39980
MD5sum: 9b664d738bed1986f18fa2008a408d54
SHA1: c57f33170ec6edfc157876b28981006c52e0c5cc
SHA256: da38e784ae6c614b0d856acd4bb876bff3f216c8acf71a412ab975c46fde1f2f
Description: server-side, HTML-embedded scripting language (metapackage)
Description-md5: 86488d7a405bdcbac9ece7c307f30abb
Package: php8.1
Priority: optional
Section: php
Installed-Size: 59
Maintainer: Debian PHP Maintainers
Architecture: all
Version: 8.1.7-2+ubuntu20.04.1+deb.sury.org+1
Provides: php
Depends: libapache2-mod-php8.1 | php8.1-fpm | php8.1-cgi, php8.1-common
Filename: pool/main/p/php8.1/php8.1_8.1.7-2+ubuntu20.04.1+deb.sury.org+1_all.deb
Size: 25512
MD5sum: c69db726fd9bdc5a49705c1639bb3e2f
SHA1: c98a2d9f441e89170f87ec312fd717afa0cd326b
SHA256: 78e6a0c4d003b59285f09f4099608d41a6d580003cbccb3273892c55dda360d9
Description: server-side, HTML-embedded scripting language (metapackage)
Description-md5: 86488d7a405bdcbac9ece7c307f30abb