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

Last updated: December 23,2024

1. Install "php-json" package

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

$ sudo apt update $ sudo apt install php-json

2. Uninstall "php-json" package

Please follow the steps below to uninstall php-json on Ubuntu 16.04 LTS (Xenial Xerus):

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

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

Package: php-json
Architecture: all
Version: 1:7.0+35ubuntu6.1
Priority: optional
Section: universe/php
Source: php-defaults (35ubuntu6.1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 11
Depends: php-common, php7.0-json
Filename: pool/universe/p/php-defaults/php-json_7.0+35ubuntu6.1_all.deb
Size: 1934
MD5sum: 95fb9f839de001c13b3e5bb048f9ac2e
SHA1: 120d02b5074140b830a02a1869f944d4838374be
SHA256: 09a146b3403916dff7a7ab912308d6c3f37d9437703aefdcb58d00f167322847
SHA512: 9cda54c816e19dae4e6df223d3cb1eef16b0644e65a07e64bc01ab287cf83c951f2f27eb022c4e2a54e37de659b57b02b27dfa58f443e847f777edc1023f2de6
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 7.0).
Description-md5: 4d8010a2e750dd2a589617f18606bd59

Package: php-json
Priority: optional
Section: universe/php
Installed-Size: 11
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Architecture: all
Source: php-defaults (35ubuntu6)
Version: 1:7.0+35ubuntu6
Depends: php-common, php7.0-json
Filename: pool/universe/p/php-defaults/php-json_7.0+35ubuntu6_all.deb
Size: 1932
MD5sum: 2d3142428ba5506b18e8cfbc88ea9f20
SHA1: 1afb7bba2f106ce62fef13c8191564e59b5a218e
SHA256: 9cc80584eeb286a1d931ee771a996005251131daf4ea89b74cbf3d600932f465
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 7.0).
Description-md5: 4d8010a2e750dd2a589617f18606bd59
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu