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

Last updated: July 05,2024

1. Install "php7.1-cli" package

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

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

2. Uninstall "php7.1-cli" package

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

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

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

Package: php7.1-cli
Source: php7.1
Priority: optional
Section: php
Installed-Size: 4494
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.1.33-37+ubuntu16.04.1+deb.sury.org+1
Suggests: php-pear
Provides: php-cli, phpapi-20160303
Depends: libedit2 (>= 2.11-20080614-4), libmagic1, libpcre3 (>= 2:8.41), mime-support, php7.1-common (= 7.1.33-37+ubuntu16.04.1+deb.sury.org+1), php7.1-json, php7.1-opcache, php7.1-readline, tzdata, ucf, libc6 (>= 2.15), libssl1.1 (>= 1.1.0), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Filename: pool/main/p/php7.1/php7.1-cli_7.1.33-37+ubuntu16.04.1+deb.sury.org+1_amd64.deb
Size: 1326712
MD5sum: 927341d0c1b8de7cccc06f2a8c18a5cd
SHA1: caf8ef7b381c0223c2bac3ad12f25370202d78a6
SHA256: 53a666e202ead511402e7967f54b214b2849125b324b4f7d9e5e00b2a7418ca3
Description-en: command-line interpreter for the PHP scripting language
This package provides the /usr/bin/php7.1 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 libxml openssl
pcntl pcre Reflection session 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: f2b967ba041836b6c91fe5a24786badb