How to Install and Uninstall php7.4-cli Package on Ubuntu 20.04 LTS (Focal Fossa)
Last updated: November 23,2024
1. Install "php7.4-cli" package
In this section, we are going to explain the necessary steps to install php7.4-cli on Ubuntu 20.04 LTS (Focal Fossa)
$
sudo apt update
Copied
$
sudo apt install
php7.4-cli
Copied
2. Uninstall "php7.4-cli" package
Please follow the step by step instructions below to uninstall php7.4-cli on Ubuntu 20.04 LTS (Focal Fossa):
$
sudo apt remove
php7.4-cli
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the php7.4-cli package on Ubuntu 20.04 LTS (Focal Fossa)
Package: php7.4-cli
Source: php7.4
Priority: optional
Section: php
Installed-Size: 4741
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 1:7.4.33-8+ubuntu20.04.1+deb.sury.org+1
Suggests: php-pear
Provides: php-cli, phpapi-20190902
Depends: libedit2 (>= 2.11-20080614-4), libmagic1, media-types | mime-support, php7.4-common (= 1:7.4.33-8+ubuntu20.04.1+deb.sury.org+1), php7.4-json, php7.4-opcache, php7.4-readline, tzdata, ucf, libargon2-1 (>= 0~20171227), libc6 (>= 2.29), 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.33-8+ubuntu20.04.1+deb.sury.org+1_amd64.deb
Size: 1433208
MD5sum: 34e09c9d34552b3d47eb95688747ffc7
SHA1: 88627bf96a281db4f259f31f1dd8def59b6fb91d
SHA256: ba35e40988508c7aab1ca5ea1ffd59b3c6df64c6b11e5625f2fae14cca100f53
Description: command-line interpreter for the PHP scripting language
Description-md5: c850194ec7241c8313985065219b5cdc
Package: php7.4-cli
Architecture: amd64
Version: 7.4.3-4ubuntu2.19
Priority: optional
Section: php
Source: php7.4
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 4727
Provides: php-cli, phpapi-20190902
Depends: libedit2 (>= 2.11-20080614-4), libmagic1, mime-support, php7.4-common (= 7.4.3-4ubuntu2.19), php7.4-json, php7.4-opcache, php7.4-readline, tzdata, ucf, libargon2-1 (>= 0~20171227), libc6 (>= 2.29), libpcre2-8-0 (>= 10.32), libsodium23 (>= 1.0.14), libssl1.1 (>= 1.1.0), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Suggests: php-pear
Filename: pool/main/p/php7.4/php7.4-cli_7.4.3-4ubuntu2.19_amd64.deb
Size: 1425684
MD5sum: 14f1aede8836ed891ce90b325be02f07
SHA1: 18210b2604b9b8df3140dfafa34b1df509c97d6f
SHA256: c63990dada4466daa0f825d8660ece63630e33f826c7783388f2c4e4462f864e
SHA512: 6067b91ba62fbee887e71d9a32f01eb19ace27ccb792d05637a0400d90031ed30afa5ab93cb0b61a2b24293710544f94c16831abff67332a3c0fbdd1928c180a
Homepage: http://www.php.net/
Description: command-line interpreter for the PHP scripting language
Description-md5: c850194ec7241c8313985065219b5cdc
Task: lamp-server
Package: php7.4-cli
Architecture: amd64
Version: 7.4.3-4ubuntu1
Priority: optional
Section: php
Source: php7.4
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 4715
Provides: php-cli, phpapi-20190902
Depends: libedit2 (>= 2.11-20080614-4), libmagic1, mime-support, php7.4-common (= 7.4.3-4ubuntu1), php7.4-json, php7.4-opcache, php7.4-readline, tzdata, ucf, libargon2-1 (>= 0~20171227), libc6 (>= 2.29), libpcre2-8-0 (>= 10.32), libsodium23 (>= 1.0.14), libssl1.1 (>= 1.1.0), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Suggests: php-pear
Filename: pool/main/p/php7.4/php7.4-cli_7.4.3-4ubuntu1_amd64.deb
Size: 1421432
MD5sum: 97cf6f82e85e818b0aa97ac39ea47c38
SHA1: 72facf857b76f42140b2001389666e3937cb0f52
SHA256: 1fb76cdd4ca7e7ee47e8bc4ae61f5cfe047f904f3343cc2174af477cc4e10d94
Homepage: http://www.php.net/
Description: command-line interpreter for the PHP scripting language
Description-md5: c850194ec7241c8313985065219b5cdc
Task: lamp-server
Source: php7.4
Priority: optional
Section: php
Installed-Size: 4741
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 1:7.4.33-8+ubuntu20.04.1+deb.sury.org+1
Suggests: php-pear
Provides: php-cli, phpapi-20190902
Depends: libedit2 (>= 2.11-20080614-4), libmagic1, media-types | mime-support, php7.4-common (= 1:7.4.33-8+ubuntu20.04.1+deb.sury.org+1), php7.4-json, php7.4-opcache, php7.4-readline, tzdata, ucf, libargon2-1 (>= 0~20171227), libc6 (>= 2.29), 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.33-8+ubuntu20.04.1+deb.sury.org+1_amd64.deb
Size: 1433208
MD5sum: 34e09c9d34552b3d47eb95688747ffc7
SHA1: 88627bf96a281db4f259f31f1dd8def59b6fb91d
SHA256: ba35e40988508c7aab1ca5ea1ffd59b3c6df64c6b11e5625f2fae14cca100f53
Description: command-line interpreter for the PHP scripting language
Description-md5: c850194ec7241c8313985065219b5cdc
Package: php7.4-cli
Architecture: amd64
Version: 7.4.3-4ubuntu2.19
Priority: optional
Section: php
Source: php7.4
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 4727
Provides: php-cli, phpapi-20190902
Depends: libedit2 (>= 2.11-20080614-4), libmagic1, mime-support, php7.4-common (= 7.4.3-4ubuntu2.19), php7.4-json, php7.4-opcache, php7.4-readline, tzdata, ucf, libargon2-1 (>= 0~20171227), libc6 (>= 2.29), libpcre2-8-0 (>= 10.32), libsodium23 (>= 1.0.14), libssl1.1 (>= 1.1.0), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Suggests: php-pear
Filename: pool/main/p/php7.4/php7.4-cli_7.4.3-4ubuntu2.19_amd64.deb
Size: 1425684
MD5sum: 14f1aede8836ed891ce90b325be02f07
SHA1: 18210b2604b9b8df3140dfafa34b1df509c97d6f
SHA256: c63990dada4466daa0f825d8660ece63630e33f826c7783388f2c4e4462f864e
SHA512: 6067b91ba62fbee887e71d9a32f01eb19ace27ccb792d05637a0400d90031ed30afa5ab93cb0b61a2b24293710544f94c16831abff67332a3c0fbdd1928c180a
Homepage: http://www.php.net/
Description: command-line interpreter for the PHP scripting language
Description-md5: c850194ec7241c8313985065219b5cdc
Task: lamp-server
Package: php7.4-cli
Architecture: amd64
Version: 7.4.3-4ubuntu1
Priority: optional
Section: php
Source: php7.4
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 4715
Provides: php-cli, phpapi-20190902
Depends: libedit2 (>= 2.11-20080614-4), libmagic1, mime-support, php7.4-common (= 7.4.3-4ubuntu1), php7.4-json, php7.4-opcache, php7.4-readline, tzdata, ucf, libargon2-1 (>= 0~20171227), libc6 (>= 2.29), libpcre2-8-0 (>= 10.32), libsodium23 (>= 1.0.14), libssl1.1 (>= 1.1.0), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Suggests: php-pear
Filename: pool/main/p/php7.4/php7.4-cli_7.4.3-4ubuntu1_amd64.deb
Size: 1421432
MD5sum: 97cf6f82e85e818b0aa97ac39ea47c38
SHA1: 72facf857b76f42140b2001389666e3937cb0f52
SHA256: 1fb76cdd4ca7e7ee47e8bc4ae61f5cfe047f904f3343cc2174af477cc4e10d94
Homepage: http://www.php.net/
Description: command-line interpreter for the PHP scripting language
Description-md5: c850194ec7241c8313985065219b5cdc
Task: lamp-server