How to Install and Uninstall php7.2-json Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: June 30,2024

1. Install "php7.2-json" package

This guide covers the steps necessary to install php7.2-json on Ubuntu 16.04 LTS (Xenial Xerus)

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

2. Uninstall "php7.2-json" package

Please follow the guidance below to uninstall php7.2-json on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the php7.2-json package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: php7.2-json
Source: php7.2
Priority: optional
Section: php
Installed-Size: 72
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.2.34-21+ubuntu16.04.1+deb.sury.org+1
Provides: php-json
Depends: php-common (>= 1:81~), ucf, php7.2-common (= 7.2.34-21+ubuntu16.04.1+deb.sury.org+1), libc6 (>= 2.14)
Filename: pool/main/p/php7.2/php7.2-json_7.2.34-21+ubuntu16.04.1+deb.sury.org+1_amd64.deb
Size: 18452
MD5sum: 4eecfae7e31f24a0ffcdef0f8714eda4
SHA1: 710d22d8457553df3b935819a85d098dddbdfe10
SHA256: 31568d2a7ce5c07ee1106d7192d25ce90099bba17347c2c20003ef85982fe5cd
Description-en: JSON module for PHP
This package provides the JSON module(s) 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.
Description-md5: 28cd07bde7d0ae5bc9df05a3c5b10e74