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

Last updated: May 20,2024

1. Install "php5.6-cli" package

Please follow the step by step instructions below to install php5.6-cli on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install php5.6-cli

2. Uninstall "php5.6-cli" package

Please follow the step by step instructions below to uninstall php5.6-cli on Ubuntu 18.04 LTS (Bionic Beaver):

$ sudo apt remove php5.6-cli $ sudo apt autoclean && sudo apt autoremove

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

Package: php5.6-cli
Source: php5.6
Priority: optional
Section: php
Installed-Size: 4452
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 5.6.40-61+ubuntu18.04.1+deb.sury.org+1
Suggests: php-pear
Provides: php-cli, phpapi-20131226
Depends: libedit2 (>= 2.11-20080614-4), libmagic1, libpcre3 (>= 2:8.41), mime-support, php5.6-common (= 5.6.40-61+ubuntu18.04.1+deb.sury.org+1), php5.6-json, php5.6-opcache, php5.6-readline, tzdata, ucf, libc6 (>= 2.27), libssl1.1 (>= 1.1.0), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Filename: pool/main/p/php5.6/php5.6-cli_5.6.40-61+ubuntu18.04.1+deb.sury.org+1_amd64.deb
Size: 1302844
MD5sum: 849c095783a1f4a0cb75896ff93c7d29
SHA1: ae80b3b2cf0dcc66683b5add8d776898992cd86d
SHA256: a76ea5550752e57a567d043b6de8fc9f81ba5353f281feefd2054fdd3466e5e0
Description: command-line interpreter for the PHP scripting language
Description-md5: b39d6910cc77bfaab56bc9894172c543