How to Install and Uninstall php-json Package on Debian 11 (Bullseye)

Last updated: December 23,2024

1. Install "php-json" package

This guide let you learn how to install php-json on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install php-json

2. Uninstall "php-json" package

In this section, we are going to explain the necessary steps to uninstall php-json on Debian 11 (Bullseye):

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

3. Information about the php-json package on Debian 11 (Bullseye)

Package: php-json
Source: php-defaults (92+0~20220117.43+debian11~1.gbpe0d14e)
Version: 2:8.1+92+0~20220117.43+debian11~1.gbpe0d14e
Architecture: all
Maintainer: Debian PHP Maintainers
Installed-Size: 14
Depends: php-common, php8.1-json
Priority: optional
Section: php
Filename: pool/main/p/php-defaults/php-json_8.1+92+0~20220117.43+debian11~1.gbpe0d14e_all.deb
Size: 7428
SHA256: 85be32adc8931cad9887f9fbfbe7e703d56318a421121b42f036aad1a08bd0c9
SHA1: c501ed2c51200ae914163edf6f1a2dda05c1541f
MD5sum: 671263c0320c72ac5b657f242652a817
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.1).
Description-md5: 1e9bd09a8530b37425ac9669807e9fd6

Package: php-json
Source: php-defaults (76)
Version: 2:7.4+76
Installed-Size: 13
Maintainer: Debian PHP Maintainers
Architecture: all
Depends: php-common, php7.4-json
Description: JSON module for PHP [default]
Description-md5: 75a773432d210a4dafb57ae2359918db
Section: php
Priority: optional
Filename: pool/main/p/php-defaults/php-json_7.4+76_all.deb
Size: 6364
MD5sum: 20de9c120408e5c8427bf4b15589f46e
SHA256: 146f4f48ce502e934b542da02df1f64f9c23482b1aca7b1113713379abda88ee