How to Install and Uninstall php-json Package on Debian 10 (Buster)

Last updated: October 05,2024

1. Install "php-json" package

Please follow the guidance below to install php-json on Debian 10 (Buster)

$ sudo apt update $ sudo apt install php-json

2. Uninstall "php-json" package

This tutorial shows how to uninstall php-json on Debian 10 (Buster):

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

3. Information about the php-json package on Debian 10 (Buster)

Package: php-json
Source: php-defaults (92+0~20220117.43+debian10~1.gbpe0d14e)
Version: 2:8.1+92+0~20220117.43+debian10~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+debian10~1.gbpe0d14e_all.deb
Size: 7416
SHA256: 11dc74f9721774e2de234073d7561bbf9434994d8309832aed19e181bca8af0b
SHA1: 2da9c6c668e2f1e25896bd80e5a5a4bf41f9d95d
MD5sum: cf8e3e21b9117e9575b6aa517f00fe96
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 (69)
Version: 2:7.3+69
Installed-Size: 12
Maintainer: Debian PHP Maintainers
Architecture: all
Depends: php-common, php7.3-json
Description: JSON module for PHP [default]
Description-md5: 5b1b2e22452efb0f83f7a51ab4553865
Section: php
Priority: optional
Filename: pool/main/p/php-defaults/php-json_7.3+69_all.deb
Size: 5988
MD5sum: 8e9cd3b6b8627fc89c3caf26a1fec19b
SHA256: 5fc62c378d74d6954084450ef5780f9b3286112bd97a01f5d8e26fd5e5cc9f8b