How to Install and Uninstall php Package on Ubuntu 22.10 (Kinetic Kudu)
Last updated: November 22,2024
1. Install "php" package
In this section, we are going to explain the necessary steps to install php on Ubuntu 22.10 (Kinetic Kudu)
$
sudo apt update
Copied
$
sudo apt install
php
Copied
2. Uninstall "php" package
Please follow the instructions below to uninstall php on Ubuntu 22.10 (Kinetic Kudu):
$
sudo apt remove
php
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the php package on Ubuntu 22.10 (Kinetic Kudu)
Package: php
Architecture: all
Version: 2:8.1+92ubuntu1
Priority: optional
Section: php
Source: php-defaults (92ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 14
Depends: php8.1
Filename: pool/main/p/php-defaults/php_8.1+92ubuntu1_all.deb
Size: 2756
MD5sum: e0dcf6e3e113ad871d74ff894def4796
SHA1: 9c5ad868454694db624b88b6560bd19a2174ba7b
SHA256: 684c71c097d7af0e02df308735c7aaa019d06a33e2860c19812341d633ae499f
SHA512: 88d9db90da61e6d73fde6cbc5b0966f586af5701b9c96f4a39cde6380c8b3900a03da453052f9ed65d9a5f85083fc151ce617a33a8891ab9c5f4eb87c491da80
Description: server-side, HTML-embedded scripting language (default)
Description-md5: b9ba50eb1ebff6ec8fbf5a31cb3813c2
Architecture: all
Version: 2:8.1+92ubuntu1
Priority: optional
Section: php
Source: php-defaults (92ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 14
Depends: php8.1
Filename: pool/main/p/php-defaults/php_8.1+92ubuntu1_all.deb
Size: 2756
MD5sum: e0dcf6e3e113ad871d74ff894def4796
SHA1: 9c5ad868454694db624b88b6560bd19a2174ba7b
SHA256: 684c71c097d7af0e02df308735c7aaa019d06a33e2860c19812341d633ae499f
SHA512: 88d9db90da61e6d73fde6cbc5b0966f586af5701b9c96f4a39cde6380c8b3900a03da453052f9ed65d9a5f85083fc151ce617a33a8891ab9c5f4eb87c491da80
Description: server-side, HTML-embedded scripting language (default)
Description-md5: b9ba50eb1ebff6ec8fbf5a31cb3813c2