How to Install and Uninstall php7.2-json Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: June 03,2024

1. Install "php7.2-json" package

This tutorial shows how to install php7.2-json on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install php7.2-json

2. Uninstall "php7.2-json" package

This guide covers the steps necessary to uninstall php7.2-json on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove php7.2-json $ sudo apt autoclean && sudo apt autoremove

3. Information about the php7.2-json package on Ubuntu 20.04 LTS (Focal Fossa)

Package: php7.2-json
Source: php7.2
Priority: optional
Section: php
Installed-Size: 76
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.2.34-43+ubuntu20.04.1+deb.sury.org+1
Provides: php-json
Depends: php-common (>= 1:81~), ucf, php7.2-common (= 7.2.34-43+ubuntu20.04.1+deb.sury.org+1), libc6 (>= 2.14)
Filename: pool/main/p/php7.2/php7.2-json_7.2.34-43+ubuntu20.04.1+deb.sury.org+1_amd64.deb
Size: 19224
MD5sum: 47f02f063951a3eab24700e8891dc284
SHA1: aacc7c2d132d39ce8959f31fc4d894aa30e69f71
SHA256: e66a4ef27c4636eeb431aca3995e50600e720c5ad9c0f48f0b97e01a1291a6d8
Description: JSON module for PHP
Description-md5: 28cd07bde7d0ae5bc9df05a3c5b10e74