How to Install and Uninstall php7.3-cli Package on Debian 12 (Bookworm)

Last updated: May 21,2024

1. Install "php7.3-cli" package

This guide covers the steps necessary to install php7.3-cli on Debian 12 (Bookworm)

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

2. Uninstall "php7.3-cli" package

This tutorial shows how to uninstall php7.3-cli on Debian 12 (Bookworm):

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

3. Information about the php7.3-cli package on Debian 12 (Bookworm)

Package: php7.3-cli
Source: php7.3
Version: 7.3.33-14+0~20230902.114+debian12~1.gbp764b27
Architecture: amd64
Maintainer: Debian PHP Maintainers
Installed-Size: 4751
Depends: libedit2 (>= 2.11-20080614-4), libmagic1, media-types | mime-support, php7.3-common (= 7.3.33-14+0~20230902.114+debian12~1.gbp764b27), php7.3-json, php7.3-opcache, php7.3-readline, tzdata, ucf, libargon2-1 (>= 0~20171227), libc6 (>= 2.35), libpcre2-8-0 (>= 10.32), libsodium23 (>= 1.0.14), libssl3 (>= 3.0.0), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Suggests: php-pear
Provides: php-cli, phpapi-20180731
Homepage: http://www.php.net/
Priority: optional
Section: php
Filename: pool/main/p/php7.3/php7.3-cli_7.3.33-14+0~20230902.114+debian12~1.gbp764b27_amd64.deb
Size: 1430676
SHA256: fa7302ff90e07b702206e918db11d2c393a61d482ba17feaa5c211f54bef76c2
SHA1: aa4921a46f7ed589759b2badb5605459f139245c
MD5sum: a0b5c65f22253800c4dadd00489e0a73
Description: command-line interpreter for the PHP scripting language
This package provides the /usr/bin/php7.3 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 sodium 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: a6274c29f918ad5444d0459f64bc81a6