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

Last updated: November 26,2024

1. Install "php7.0-cli" package

Please follow the steps below to install php7.0-cli on Ubuntu 16.04 LTS (Xenial Xerus)

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

2. Uninstall "php7.0-cli" package

Learn how to uninstall php7.0-cli on Ubuntu 16.04 LTS (Xenial Xerus):

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

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

Package: php7.0-cli
Status: install ok installed
Priority: optional
Section: php
Installed-Size: 4337
Maintainer: Debian PHP Maintainers
Architecture: amd64
Source: php7.0
Version: 7.0.33-50+ubuntu16.04.1+deb.sury.org+1
Provides: php-cli, phpapi-20151012
Depends: libedit2 (>= 2.11-20080614-4), libmagic1, libpcre3 (>= 2:8.41), mime-support, php7.0-common (= 7.0.33-50+ubuntu16.04.1+deb.sury.org+1), php7.0-json, php7.0-opcache, php7.0-readline, tzdata, ucf, libc6 (>= 2.15), libssl1.1 (>= 1.1.0), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Suggests: php-pear
Description-en: command-line interpreter for the PHP scripting language
This package provides the /usr/bin/php7.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 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: 22825d1d78d475175fcb3e2f13054b4d
Homepage: http://www.php.net/

Package: php7.0-cli
Architecture: amd64
Version: 7.0.33-0ubuntu0.16.04.16
Priority: optional
Section: php
Source: php7.0
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 4338
Provides: php-cli, phpapi-20151012
Depends: libedit2 (>= 2.11-20080614-4), libmagic1, mime-support, php7.0-common (= 7.0.33-0ubuntu0.16.04.16), php7.0-json, php7.0-opcache, php7.0-readline, tzdata, ucf, libc6 (>= 2.15), libpcre3, libssl1.0.0 (>= 1.0.2~beta3), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Suggests: php-pear
Breaks: php5-cli (<< 5.6.16+dfsg-4~)
Replaces: php5-cli (<< 5.6.16+dfsg-4~)
Filename: pool/main/p/php7.0/php7.0-cli_7.0.33-0ubuntu0.16.04.16_amd64.deb
Size: 1282882
MD5sum: dae2c6b1840352d7578c304a7c5d304f
SHA1: 12aedb9f7f71f7b52735ae235d5f6b568146f2f9
SHA256: fb3acb80033b88462aaf32b4545d360c7cb9af47a10b7327c6d07a2674f3bb00
SHA512: 1ab0aefdef5e41fa61becc685a6c8c00624b8cfbce9bf1c8ba24fa0aeeda2b5d57852681e84dc6ac4d0c0bc42bf50aef6e0c0988043ed9b4c4f755ef7612ee17
Homepage: http://www.php.net/
Description-en: command-line interpreter for the PHP scripting language
This package provides the /usr/bin/php7.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 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: 22825d1d78d475175fcb3e2f13054b4d
Task: lamp-server, mythbuntu-frontend, mythbuntu-desktop, mythbuntu-backend-slave, mythbuntu-backend-master, mythbuntu-backend-master
Supported: 5y

Package: php7.0-cli
Priority: optional
Section: php
Installed-Size: 4350
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Architecture: amd64
Source: php7.0
Version: 7.0.4-7ubuntu2
Replaces: php5-cli (<< 5.6.16+dfsg-4~)
Provides: php-cli, phpapi-20151012
Depends: libedit2 (>= 2.11-20080614-4), libmagic1, mime-support, php7.0-common (= 7.0.4-7ubuntu2), php7.0-json, php7.0-opcache, php7.0-readline, tzdata, ucf, libc6 (>= 2.15), libpcre3, libssl1.0.0 (>= 1.0.2~beta3), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Suggests: php-pear
Breaks: php5-cli (<< 5.6.16+dfsg-4~)
Filename: pool/main/p/php7.0/php7.0-cli_7.0.4-7ubuntu2_amd64.deb
Size: 1275868
MD5sum: 4ab33a1f75a2afd05a2302c934bd941b
SHA1: 9b53f1ccabb35a0479199408f010e9552b4ec300
SHA256: e5d52a1b00b50dd7d42d0f8efcc78a3b7a0d04221c0e782568899530340d273e
Description-en: command-line interpreter for the PHP scripting language
This package provides the /usr/bin/php7.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 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: 22825d1d78d475175fcb3e2f13054b4d
Homepage: http://www.php.net/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 5y
Task: lamp-server, mythbuntu-frontend, mythbuntu-desktop, mythbuntu-backend-slave, mythbuntu-backend-master, mythbuntu-backend-master