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

Last updated: June 29,2024

1. Install "php7.4-cli" package

Please follow the instructions below to install php7.4-cli on Ubuntu 18.04 LTS (Bionic Beaver)

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

2. Uninstall "php7.4-cli" package

In this section, we are going to explain the necessary steps to uninstall php7.4-cli on Ubuntu 18.04 LTS (Bionic Beaver):

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

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

Package: php7.4-cli
Source: php7.4
Priority: optional
Section: php
Installed-Size: 4609
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 1:7.4.30-5+ubuntu18.04.1+deb.sury.org+1
Suggests: php-pear
Provides: php-cli, phpapi-20190902
Depends: libedit2 (>= 2.11-20080614-4), libmagic1, mime-support, php7.4-common (= 1:7.4.30-5+ubuntu18.04.1+deb.sury.org+1), php7.4-json, php7.4-opcache, php7.4-readline, tzdata, ucf, libargon2-1 (>= 0~20171227), libc6 (>= 2.27), libpcre2-8-0 (>= 10.38), libsodium23 (>= 1.0.14), libssl1.1 (>= 1.1.0), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Filename: pool/main/p/php7.4/php7.4-cli_7.4.30-5+ubuntu18.04.1+deb.sury.org+1_amd64.deb
Size: 1401508
MD5sum: 2948a9bddea15dfcdaabe099fc5e2ff4
SHA1: 0ce4cf095dfc7f768028904752c0d78a6ca20352
SHA256: 9ca5f71c6ff79d5ad00a346bc0a7fab6542f8757326bf852c7c0e21e35f308df
Description: command-line interpreter for the PHP scripting language
Description-md5: c850194ec7241c8313985065219b5cdc