How to Install and Uninstall php-json Package on Ubuntu 18.04 LTS (Bionic Beaver)
Last updated: December 23,2024
1. Install "php-json" package
Please follow the step by step instructions below to install php-json on Ubuntu 18.04 LTS (Bionic Beaver)
$
sudo apt update
Copied
$
sudo apt install
php-json
Copied
2. Uninstall "php-json" package
Please follow the guidance below to uninstall php-json on Ubuntu 18.04 LTS (Bionic Beaver):
$
sudo apt remove
php-json
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the php-json package on Ubuntu 18.04 LTS (Bionic Beaver)
Package: php-json
Source: php-defaults (92+ubuntu18.04.1+deb.sury.org+2)
Priority: optional
Section: php
Installed-Size: 14
Maintainer: Debian PHP Maintainers
Architecture: all
Version: 2:8.1+92+ubuntu18.04.1+deb.sury.org+2
Depends: php-common, php8.1-json
Filename: pool/main/p/php-defaults/php-json_8.1+92+ubuntu18.04.1+deb.sury.org+2_all.deb
Size: 7284
MD5sum: 0935496513f8ce5c12d71424f57de8dc
SHA1: b90e4dac2ced058b665b939d8475a52b0feee922
SHA256: 922bc6c586da735e4e5723bcfc78ce479dfd4c5ea132d55d16905a045ebb753c
Description: JSON module for PHP [default]
Description-md5: 1e9bd09a8530b37425ac9669807e9fd6
Package: php-json
Architecture: all
Version: 1:7.2+60ubuntu1
Priority: optional
Section: universe/php
Source: php-defaults (60ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 12
Depends: php-common, php7.2-json
Filename: pool/universe/p/php-defaults/php-json_7.2+60ubuntu1_all.deb
Size: 2000
MD5sum: 8f691d2a2a43c5c64ee03ea1e711124c
SHA1: 2b581c8e9bcc9267ed3863f81ee298924633bcdd
SHA256: 20e87560967f8f7247d29f13d5c95b597899d4fba1c40df8e786f62db856c4f8
Description: JSON module for PHP [default]
Description-md5: a8a4e9cee7c3d6c7a846f15e69584b53
Source: php-defaults (92+ubuntu18.04.1+deb.sury.org+2)
Priority: optional
Section: php
Installed-Size: 14
Maintainer: Debian PHP Maintainers
Architecture: all
Version: 2:8.1+92+ubuntu18.04.1+deb.sury.org+2
Depends: php-common, php8.1-json
Filename: pool/main/p/php-defaults/php-json_8.1+92+ubuntu18.04.1+deb.sury.org+2_all.deb
Size: 7284
MD5sum: 0935496513f8ce5c12d71424f57de8dc
SHA1: b90e4dac2ced058b665b939d8475a52b0feee922
SHA256: 922bc6c586da735e4e5723bcfc78ce479dfd4c5ea132d55d16905a045ebb753c
Description: JSON module for PHP [default]
Description-md5: 1e9bd09a8530b37425ac9669807e9fd6
Package: php-json
Architecture: all
Version: 1:7.2+60ubuntu1
Priority: optional
Section: universe/php
Source: php-defaults (60ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 12
Depends: php-common, php7.2-json
Filename: pool/universe/p/php-defaults/php-json_7.2+60ubuntu1_all.deb
Size: 2000
MD5sum: 8f691d2a2a43c5c64ee03ea1e711124c
SHA1: 2b581c8e9bcc9267ed3863f81ee298924633bcdd
SHA256: 20e87560967f8f7247d29f13d5c95b597899d4fba1c40df8e786f62db856c4f8
Description: JSON module for PHP [default]
Description-md5: a8a4e9cee7c3d6c7a846f15e69584b53