How to Install and Uninstall php8.1-cli Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: July 06,2024

1. Install "php8.1-cli" package

Please follow the instructions below to install php8.1-cli on Ubuntu 18.04 LTS (Bionic Beaver)

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

2. Uninstall "php8.1-cli" package

Please follow the guidelines below to uninstall php8.1-cli on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the php8.1-cli package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: php8.1-cli
Source: php8.1
Priority: optional
Section: php
Installed-Size: 5350
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 8.1.9-1+ubuntu18.04.1+deb.sury.org+1
Suggests: php-pear
Provides: php-cli, php-json, php8.1-json, phpapi-20210902
Depends: libedit2 (>= 2.11-20080614-4), libmagic1, mime-support, php8.1-common (= 8.1.9-1+ubuntu18.04.1+deb.sury.org+1), php8.1-opcache, php8.1-readline, tzdata, ucf, libargon2-1 (>= 0~20171227), libc6 (>= 2.27), libpcre2-8-0 (>= 10.38), libsodium23 (>= 1.0.18), libssl1.1 (>= 1.1.1), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Filename: pool/main/p/php8.1/php8.1-cli_8.1.9-1+ubuntu18.04.1+deb.sury.org+1_amd64.deb
Size: 1635448
MD5sum: fd586ac6e61b8b099cfbb05b55703444
SHA1: 0ee4b0225449384820e9daf0baae19b9a8d1a19d
SHA256: eedf020c151432767f7c62b53d080ae668c08e398ba85ee0d5191b8fab89496f
Description: command-line interpreter for the PHP scripting language
Description-md5: c4f65cd0d3ec6a1fa6aba7e0fc095fa5