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

Last updated: May 19,2024

1. Install "php8.1-cli" package

This guide covers the steps necessary to install php8.1-cli on Ubuntu 22.10 (Kinetic Kudu)

$ sudo apt update $ sudo apt install php8.1-cli

2. Uninstall "php8.1-cli" package

Please follow the instructions below to uninstall php8.1-cli on Ubuntu 22.10 (Kinetic Kudu):

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

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

Package: php8.1-cli
Architecture: amd64
Version: 8.1.7-1ubuntu3
Priority: optional
Section: php
Source: php8.1
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 5493
Provides: php-cli, php-json, php8.1-json, phpapi-20210902
Depends: libedit2 (>= 2.11-20080614-4), libmagic1, mime-support, php8.1-common (= 8.1.7-1ubuntu3), php8.1-opcache, php8.1-readline, tzdata, ucf, libargon2-1 (>= 0~20171227), libc6 (>= 2.35), libpcre2-8-0 (>= 10.32), libsodium23 (>= 1.0.18), libssl3 (>= 3.0.0), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Suggests: php-pear
Filename: pool/main/p/php8.1/php8.1-cli_8.1.7-1ubuntu3_amd64.deb
Size: 1845388
MD5sum: d064b4a9e1009c315940518684dbf9d6
SHA1: dae3600672a4c689fad5bc39a544d982488f080d
SHA256: 8eadd4042ac2b62f9b07361f46afe2e333dbb0e84d88e0fb51b22da39008fc84
SHA512: c982b10df688abd62d901cfb03ec1b6d2ddee0fe05c0f9a3beb9f243ba6174e14f97692d74c9f2383e3d85f1ad3d4113a623623d3ca4af8e3228dbc69d2b76f2
Homepage: http://www.php.net/
Description: command-line interpreter for the PHP scripting language
Description-md5: c4f65cd0d3ec6a1fa6aba7e0fc095fa5
Task: lamp-server