How to Install and Uninstall php8.1 Package on Ubuntu 22.10 (Kinetic Kudu)

Last updated: December 22,2024

1. Install "php8.1" package

Please follow the step by step instructions below to install php8.1 on Ubuntu 22.10 (Kinetic Kudu)

$ sudo apt update $ sudo apt install php8.1

2. Uninstall "php8.1" package

This tutorial shows how to uninstall php8.1 on Ubuntu 22.10 (Kinetic Kudu):

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

3. Information about the php8.1 package on Ubuntu 22.10 (Kinetic Kudu)

Package: php8.1
Architecture: all
Version: 8.1.7-1ubuntu3
Priority: optional
Section: php
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 61
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-1ubuntu3_all.deb
Size: 9160
MD5sum: 1ba2f2d4e81c45329a1fed2bf42d653e
SHA1: 961fbdb7bbb2357e841e2f4ecd3ac46f994573e9
SHA256: 63efa33ebd9f45b458d3cecefa9e11e5e22d83fc5ac6d0a9ef6217bb5b969cd8
SHA512: 8898864777edb776c718d9855c3bcd44d8a4a472a28d5f00f069a4dd098292f5a235acb1ba7f617a9d7709f6c67554ba8d80cc16bdb44a840de9ac463b39ec56
Homepage: http://www.php.net/
Description: server-side, HTML-embedded scripting language (metapackage)
Description-md5: 86488d7a405bdcbac9ece7c307f30abb