How to Install and Uninstall php-json Package on Debian 12 (Bookworm)

Last updated: November 21,2024

1. Install "php-json" package

Please follow the guidelines below to install php-json on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install php-json

2. Uninstall "php-json" package

Please follow the guidance below to uninstall php-json on Debian 12 (Bookworm):

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

3. Information about the php-json package on Debian 12 (Bookworm)

Package: php-json
Source: php-defaults (94+0~20240205.51+debian12~1.gbp6faa2e)
Version: 2:8.3+94+0~20240205.51+debian12~1.gbp6faa2e
Architecture: all
Maintainer: Debian PHP Maintainers
Installed-Size: 10
Depends: php-common, php8.3-json
Priority: optional
Section: php
Filename: pool/main/p/php-defaults/php-json_8.3+94+0~20240205.51+debian12~1.gbp6faa2e_all.deb
Size: 3868
SHA256: 6dee7bd54d20bc811c24ec550c589dcda8f3f559136bfc422181c4a1fffba3d0
SHA1: 0c0e99f004a349fc206312bdcb3a38f24fba7e24
MD5sum: c4021c32afaa35c652783348c96c3a5e
Description: JSON module for PHP [default]
This package provides a JSON module for PHP.
.
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.
.
This package is a dependency package, which depends on Debian's default
PHP version (currently 8.3).
Description-md5: bfa108bc70878257b9a87ee669da633d

Package: php-json
Source: php-defaults (93)
Version: 2:8.2+93
Installed-Size: 10
Maintainer: Debian PHP Maintainers
Architecture: all
Depends: php-common, php8.2-json
Description: JSON module for PHP [default]
Description-md5: 079881a7332ddd567b908d4bdef5c1f2
Section: php
Priority: optional
Filename: pool/main/p/php-defaults/php-json_8.2+93_all.deb
Size: 3652
MD5sum: ac34185cc6d63627af171b0e700b7591
SHA256: 51d2839d91f083c109fc3e045e4fc3a6c91cd64b9b8fcaa174f5bb45a0c2a71f