How to Install and Uninstall php8.0-cli Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: November 15,2024

1. Install "php8.0-cli" package

This guide covers the steps necessary to install php8.0-cli on Ubuntu 16.04 LTS (Xenial Xerus)

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

2. Uninstall "php8.0-cli" package

Please follow the step by step instructions below to uninstall php8.0-cli on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the php8.0-cli package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: php8.0-cli
Source: php8.0
Priority: optional
Section: php
Installed-Size: 4791
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 8.0.5-2+ubuntu16.04.1+deb.sury.org+1
Suggests: php-pear
Provides: php-cli, php8.0-json, phpapi-20200930
Depends: libedit2 (>= 2.11-20080614-4), libmagic1, mime-support, php8.0-common (= 8.0.5-2+ubuntu16.04.1+deb.sury.org+1), php8.0-opcache, php8.0-readline, tzdata, ucf, libargon2-1 (>= 0~20171227), libc6 (>= 2.15), libpcre2-8-0 (>= 10.32), libsodium23 (>= 1.0.14), libssl1.1 (>= 1.1.0), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Filename: pool/main/p/php8.0/php8.0-cli_8.0.5-2+ubuntu16.04.1+deb.sury.org+1_amd64.deb
Size: 1427834
MD5sum: de01d803022a69ea2543f2be40393ecd
SHA1: fb9d26dad207899ac678d90884abdfaab878d9c1
SHA256: 363ec535b64764462ab37d56ec2cdcfb77868129d0cd153c42ce4f4d945c42d9
Description-en: command-line interpreter for the PHP scripting language
This package provides the /usr/bin/php8.0 command interpreter, useful for
testing PHP scripts from a shell or performing general shell scripting tasks.
.
The following extensions are built in: Core date filter hash json libxml
openssl pcntl pcre Reflection session sodium SPL standard zlib.
.
PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used
open source general-purpose scripting language that is especially suited
for web development and can be embedded into HTML.
Description-md5: 12cfe9b7356136066b6534d6fa3b22c8