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

Last updated: November 27,2024

1. Install "php7.1-cli" package

This tutorial shows how to install php7.1-cli on Ubuntu 18.04 LTS (Bionic Beaver)

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

2. Uninstall "php7.1-cli" package

Here is a brief guide to show you how to uninstall php7.1-cli on Ubuntu 18.04 LTS (Bionic Beaver):

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

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

Package: php7.1-cli
Source: php7.1
Priority: optional
Section: php
Installed-Size: 4517
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.1.33-48+ubuntu18.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-48+ubuntu18.04.1+deb.sury.org+1), php7.1-json, php7.1-opcache, php7.1-readline, tzdata, ucf, libc6 (>= 2.27), 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-48+ubuntu18.04.1+deb.sury.org+1_amd64.deb
Size: 1345076
MD5sum: d6b2f799757684fef07ae6258c01d289
SHA1: e9c67b1a25548625b14d980173f07112e9ad4700
SHA256: 59e4238c2b10ea216766261dbcf99c2b24395a870f58efbf1e7ae39642eabbb7
Description: command-line interpreter for the PHP scripting language
Description-md5: f2b967ba041836b6c91fe5a24786badb