How to Install and Uninstall php-cli Package on Linux Mint 20.3 (Una)

Last updated: January 24,2025

1. Install "php-cli" package

Please follow the step by step instructions below to install php-cli on Linux Mint 20.3 (Una)

$ sudo apt update $ sudo apt install php-cli

2. Uninstall "php-cli" package

Please follow the guidelines below to uninstall php-cli on Linux Mint 20.3 (Una):

$ sudo apt remove php-cli $ sudo apt autoclean && sudo apt autoremove

3. Information about the php-cli package on Linux Mint 20.3 (Una)

Package: php-cli
Source: php-defaults (92+ubuntu20.04.1+deb.sury.org+2)
Priority: optional
Section: php
Installed-Size: 25
Maintainer: Debian PHP Maintainers
Architecture: all
Version: 2:8.1+92+ubuntu20.04.1+deb.sury.org+2
Depends: php8.1-cli
Filename: pool/main/p/php-defaults/php-cli_8.1+92+ubuntu20.04.1+deb.sury.org+2_all.deb
Size: 7716
MD5sum: 2451cdd77d2679f7f80fe223ac981642
SHA1: d356fc11e90ed622cd8f838cc2f4644572555479
SHA256: b500b46794337699dc001e42f208a1edef9865b3b5ef8325053f8f01877422a7
Description: command-line interpreter for the PHP scripting language (default)
Description-md5: 232467ad58970134c89120381a7f5586

Package: php-cli
Architecture: all
Version: 2:7.4+75
Priority: optional
Section: php
Source: php-defaults (75)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 13
Depends: php7.4-cli
Filename: pool/main/p/php-defaults/php-cli_7.4+75_all.deb
Size: 2792
MD5sum: 18873fffa99a91089bafe99dfb080c88
SHA1: c1946f04f762348814d2394846156a90e9a90781
SHA256: 64f9c8b1c79d8d093587719bf37962c6d5a1cea55b202a8261599832100c3525
Description: command-line interpreter for the PHP scripting language (default)
Description-md5: d7b82b840d6a7f5664fad95dad8ee870