How to Install and Uninstall php7.2-cli Package on Ubuntu 18.04 LTS (Bionic Beaver)
Last updated: December 26,2024
1. Install "php7.2-cli" package
This tutorial shows how to install php7.2-cli on Ubuntu 18.04 LTS (Bionic Beaver)
$
sudo apt update
Copied
$
sudo apt install
php7.2-cli
Copied
2. Uninstall "php7.2-cli" package
Please follow the guidelines below to uninstall php7.2-cli on Ubuntu 18.04 LTS (Bionic Beaver):
$
sudo apt remove
php7.2-cli
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the php7.2-cli package on Ubuntu 18.04 LTS (Bionic Beaver)
Package: php7.2-cli
Source: php7.2
Priority: optional
Section: php
Installed-Size: 4847
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.2.34-33+ubuntu18.04.1+deb.sury.org+1
Suggests: php-pear
Provides: php-cli, phpapi-20170718
Depends: libedit2 (>= 2.11-20080614-4), libmagic1, libpcre3 (>= 2:8.41), mime-support, php7.2-common (= 7.2.34-33+ubuntu18.04.1+deb.sury.org+1), php7.2-json, php7.2-opcache, php7.2-readline, tzdata, ucf, libargon2-1 (>= 0~20171227), libc6 (>= 2.27), libsodium23 (>= 1.0.14), libssl1.1 (>= 1.1.0), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Filename: pool/main/p/php7.2/php7.2-cli_7.2.34-33+ubuntu18.04.1+deb.sury.org+1_amd64.deb
Size: 1409172
MD5sum: 33c7dd43f33d38ad5c248a536e8edda5
SHA1: 2f41f31978e8901eed69a1cce526589efd3c261d
SHA256: c970687419d4f9a928735ee49193ecaaf2fec259e4f69ca675e415d11914b01c
Description: command-line interpreter for the PHP scripting language
Description-md5: a7d0565e0b51caaecc1b552461abc0a6
Package: php7.2-cli
Architecture: amd64
Version: 7.2.24-0ubuntu0.18.04.13
Priority: optional
Section: php
Source: php7.2
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 4844
Provides: php-cli, phpapi-20170718
Depends: libedit2 (>= 2.11-20080614-4), libmagic1, libpcre3 (>= 2:8.35), mime-support, php7.2-common (= 7.2.24-0ubuntu0.18.04.13), php7.2-json, php7.2-opcache, php7.2-readline, tzdata, ucf, libargon2-0 (>= 0~20160406~), libc6 (>= 2.27), 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.2/php7.2-cli_7.2.24-0ubuntu0.18.04.13_amd64.deb
Size: 1409276
MD5sum: 67100a9b1bd3cb54c5085f4c13f2b800
SHA1: 7214f4b825994a057ea7d64cbaeed0133bd88a32
SHA256: 6177969f9cbc1d5b477caf94665c3c222d78cb0d285b024d38eb014c68f24358
SHA512: bb5dab9faf183e178e32fbf0555a6855e7100093eff5841ccacd706decbac093f78b739fa88abc538d2e95816332d03d7c162a5b05da109966c8c07c9f8fa651
Homepage: http://www.php.net/
Description: command-line interpreter for the PHP scripting language
Description-md5: a7d0565e0b51caaecc1b552461abc0a6
Task: lamp-server
Supported: 5y
Package: php7.2-cli
Architecture: amd64
Version: 7.2.3-1ubuntu1
Priority: optional
Section: php
Source: php7.2
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 4836
Provides: php-cli, phpapi-20170718
Depends: libedit2 (>= 2.11-20080614-4), libmagic1, libpcre3 (>= 2:8.35), mime-support, php7.2-common (= 7.2.3-1ubuntu1), php7.2-json, php7.2-opcache, php7.2-readline, tzdata, ucf, libargon2-0 (>= 0~20160406~), libc6 (>= 2.27), 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.2/php7.2-cli_7.2.3-1ubuntu1_amd64.deb
Size: 1404064
MD5sum: 3934bca2269dc2024fe19cffd38efa22
SHA1: 9f7ed041c1675f4962e65a89b11665cc196c2223
SHA256: d52595c711f6afb1a25a3a6244cdd687ce5de350a848555444578c4415abcaa9
Homepage: http://www.php.net/
Description: command-line interpreter for the PHP scripting language
Description-md5: a7d0565e0b51caaecc1b552461abc0a6
Task: lamp-server
Supported: 5y
Source: php7.2
Priority: optional
Section: php
Installed-Size: 4847
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.2.34-33+ubuntu18.04.1+deb.sury.org+1
Suggests: php-pear
Provides: php-cli, phpapi-20170718
Depends: libedit2 (>= 2.11-20080614-4), libmagic1, libpcre3 (>= 2:8.41), mime-support, php7.2-common (= 7.2.34-33+ubuntu18.04.1+deb.sury.org+1), php7.2-json, php7.2-opcache, php7.2-readline, tzdata, ucf, libargon2-1 (>= 0~20171227), libc6 (>= 2.27), libsodium23 (>= 1.0.14), libssl1.1 (>= 1.1.0), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Filename: pool/main/p/php7.2/php7.2-cli_7.2.34-33+ubuntu18.04.1+deb.sury.org+1_amd64.deb
Size: 1409172
MD5sum: 33c7dd43f33d38ad5c248a536e8edda5
SHA1: 2f41f31978e8901eed69a1cce526589efd3c261d
SHA256: c970687419d4f9a928735ee49193ecaaf2fec259e4f69ca675e415d11914b01c
Description: command-line interpreter for the PHP scripting language
Description-md5: a7d0565e0b51caaecc1b552461abc0a6
Package: php7.2-cli
Architecture: amd64
Version: 7.2.24-0ubuntu0.18.04.13
Priority: optional
Section: php
Source: php7.2
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 4844
Provides: php-cli, phpapi-20170718
Depends: libedit2 (>= 2.11-20080614-4), libmagic1, libpcre3 (>= 2:8.35), mime-support, php7.2-common (= 7.2.24-0ubuntu0.18.04.13), php7.2-json, php7.2-opcache, php7.2-readline, tzdata, ucf, libargon2-0 (>= 0~20160406~), libc6 (>= 2.27), 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.2/php7.2-cli_7.2.24-0ubuntu0.18.04.13_amd64.deb
Size: 1409276
MD5sum: 67100a9b1bd3cb54c5085f4c13f2b800
SHA1: 7214f4b825994a057ea7d64cbaeed0133bd88a32
SHA256: 6177969f9cbc1d5b477caf94665c3c222d78cb0d285b024d38eb014c68f24358
SHA512: bb5dab9faf183e178e32fbf0555a6855e7100093eff5841ccacd706decbac093f78b739fa88abc538d2e95816332d03d7c162a5b05da109966c8c07c9f8fa651
Homepage: http://www.php.net/
Description: command-line interpreter for the PHP scripting language
Description-md5: a7d0565e0b51caaecc1b552461abc0a6
Task: lamp-server
Supported: 5y
Package: php7.2-cli
Architecture: amd64
Version: 7.2.3-1ubuntu1
Priority: optional
Section: php
Source: php7.2
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 4836
Provides: php-cli, phpapi-20170718
Depends: libedit2 (>= 2.11-20080614-4), libmagic1, libpcre3 (>= 2:8.35), mime-support, php7.2-common (= 7.2.3-1ubuntu1), php7.2-json, php7.2-opcache, php7.2-readline, tzdata, ucf, libargon2-0 (>= 0~20160406~), libc6 (>= 2.27), 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.2/php7.2-cli_7.2.3-1ubuntu1_amd64.deb
Size: 1404064
MD5sum: 3934bca2269dc2024fe19cffd38efa22
SHA1: 9f7ed041c1675f4962e65a89b11665cc196c2223
SHA256: d52595c711f6afb1a25a3a6244cdd687ce5de350a848555444578c4415abcaa9
Homepage: http://www.php.net/
Description: command-line interpreter for the PHP scripting language
Description-md5: a7d0565e0b51caaecc1b552461abc0a6
Task: lamp-server
Supported: 5y