How to Install and Uninstall php Package on Ubuntu 23.10 (Mantic Minotaur)
Last updated: December 23,2024
1. Install "php" package
Please follow the steps below to install php on Ubuntu 23.10 (Mantic Minotaur)
$
sudo apt update
Copied
$
sudo apt install
php
Copied
2. Uninstall "php" package
Here is a brief guide to show you how to uninstall php on Ubuntu 23.10 (Mantic Minotaur):
$
sudo apt remove
php
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the php package on Ubuntu 23.10 (Mantic Minotaur)
Package: php
Architecture: all
Version: 2:8.2+93ubuntu1
Priority: optional
Section: php
Source: php-defaults (93ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 10
Depends: php8.2
Filename: pool/main/p/php-defaults/php_8.2+93ubuntu1_all.deb
Size: 4014
MD5sum: dc849354efc10d371bfe932ea59748e7
SHA1: f88b7ce075220aa4eaa286216de48b64b468db99
SHA256: 2fd5af1c3436766e0484c041f9adab66225b9dd1ac009222e7a2d6b408ea9cdd
SHA512: ad13f407b41248e46ccf61de717b46c166f6bde61eabc662900a46411b93a31a8749b4e8e073708a4cddec5e0cc9b79c498e71c23d2027c888237cb4ef372eb4
Description: server-side, HTML-embedded scripting language (default)
Description-md5: cf6b9bc7f5941aa2220d6d220e85135c
Architecture: all
Version: 2:8.2+93ubuntu1
Priority: optional
Section: php
Source: php-defaults (93ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 10
Depends: php8.2
Filename: pool/main/p/php-defaults/php_8.2+93ubuntu1_all.deb
Size: 4014
MD5sum: dc849354efc10d371bfe932ea59748e7
SHA1: f88b7ce075220aa4eaa286216de48b64b468db99
SHA256: 2fd5af1c3436766e0484c041f9adab66225b9dd1ac009222e7a2d6b408ea9cdd
SHA512: ad13f407b41248e46ccf61de717b46c166f6bde61eabc662900a46411b93a31a8749b4e8e073708a4cddec5e0cc9b79c498e71c23d2027c888237cb4ef372eb4
Description: server-side, HTML-embedded scripting language (default)
Description-md5: cf6b9bc7f5941aa2220d6d220e85135c