How to Install and Uninstall php-json Package on Ubuntu 21.10 (Impish Indri)

Last updated: November 05,2024

1. Install "php-json" package

This tutorial shows how to install php-json on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install php-json

2. Uninstall "php-json" package

This is a short guide on how to uninstall php-json on Ubuntu 21.10 (Impish Indri):

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

3. Information about the php-json package on Ubuntu 21.10 (Impish Indri)

Package: php-json
Source: php-defaults (85+ubuntu21.10.1+deb.sury.org+1)
Priority: optional
Section: php
Installed-Size: 13
Maintainer: Debian PHP Maintainers
Architecture: all
Version: 2:8.0+85+ubuntu21.10.1+deb.sury.org+1
Depends: php-common, php8.0-json
Filename: pool/main/p/php-defaults/php-json_8.0+85+ubuntu21.10.1+deb.sury.org+1_all.deb
Size: 6954
MD5sum: ddb14734f01069789c56dd5e43868769
SHA1: b635b23c9f0b47e476b10ab4c7e8ba1c168c9f4a
SHA256: 9f1c9ced91518b6ff3220112076ce350633985f634a3471e96898078f9ee9890
Description-en: 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.0).
Description-md5: 702e8ac831581ba6968ca48b7d10486e

Package: php-json
Architecture: all
Version: 2:8.0+82~0build1
Priority: optional
Section: php
Source: php-defaults (82~0build1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 13
Depends: php-common, php8.0-json
Filename: pool/main/p/php-defaults/php-json_8.0+82~0build1_all.deb
Size: 2012
MD5sum: 1a27b8a1fb11dae1094b090b202b0741
SHA1: 45f44f6b267a3336998b3a0be30519ed29ad2615
SHA256: 5aa2796d311f814dab4f84c1994aa75630ae36a6d77e13c55a489e608aef6778
SHA512: 0455c174cc1d2007e76f6828c36919f518a104fabc813582f91123066989c8e883ca1c9b28421dd259afd7459721f051bdfeb471379427ec6b07827b1cf582d4
Description-en: 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.0).
Description-md5: 702e8ac831581ba6968ca48b7d10486e