How to Install and Uninstall php7.1-cli Package on Ubuntu 21.10 (Impish Indri)

Last updated: November 23,2024

1. Install "php7.1-cli" package

Please follow the guidance below to install php7.1-cli on Ubuntu 21.10 (Impish Indri)

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

2. Uninstall "php7.1-cli" package

Please follow the steps below to uninstall php7.1-cli on Ubuntu 21.10 (Impish Indri):

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

3. Information about the php7.1-cli package on Ubuntu 21.10 (Impish Indri)

Package: php7.1-cli
Source: php7.1
Priority: optional
Section: php
Installed-Size: 4633
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.1.33-44+ubuntu21.10.1+deb.sury.org+1
Suggests: php-pear
Provides: php-cli, phpapi-20160303
Depends: libedit2 (>= 2.11-20080614-4), libmagic1, libpcre3 (>= 2:8.35), mime-support, php7.1-common (= 7.1.33-44+ubuntu21.10.1+deb.sury.org+1), php7.1-json, php7.1-opcache, php7.1-readline, tzdata, ucf, libc6 (>= 2.34), 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-44+ubuntu21.10.1+deb.sury.org+1_amd64.deb
Size: 1511518
MD5sum: 0541c688a87924e7aaa576fe085e7da7
SHA1: 3b9f46facde2cb85e2bc2e3d3718b2648ecceef3
SHA256: 706ee9139710e092d6d96bef8e9390f5e32985c7d9207bb70cb2d953a20016ba
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