How to Install and Uninstall libgoogle-gson-java Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 12,2024

1. Install "libgoogle-gson-java" package

This guide let you learn how to install libgoogle-gson-java on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install libgoogle-gson-java

2. Uninstall "libgoogle-gson-java" package

This guide covers the steps necessary to uninstall libgoogle-gson-java on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove libgoogle-gson-java $ sudo apt autoclean && sudo apt autoremove

3. Information about the libgoogle-gson-java package on Ubuntu 21.04 (Hirsute Hippo)

Package: libgoogle-gson-java
Architecture: all
Version: 2.8.6-1
Priority: optional
Section: universe/java
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Java Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 267
Suggests: libgoogle-gson-java-doc
Filename: pool/universe/libg/libgoogle-gson-java/libgoogle-gson-java_2.8.6-1_all.deb
Size: 218220
MD5sum: 171d60d9b7c1d6319449ea40c415847f
SHA1: a95873a3367ccbe39a2bca671b60113680058904
SHA256: f738fee50d6b3a38639266dbaac37ec5c8e33c0771239223719977cbda516049
SHA512: 8a56fe726d43f60a7935fa64cd5cbf03a8b694034a4858889db55ea8278cfd413b577ccac102e53ef78b22c7c9f25d46160b1e8b86d65a5c9cbd2e9edd32e8e0
Homepage: https://github.com/google/gson
Description-en: Converts Java objects into their JSON representation
Gson is a Java library that can be used to convert Java Objects into their JSON
representation. It can also be used to convert a JSON string to an equivalent
Java object. Gson can work with arbitrary Java objects including pre-existing
objects that you do not have source-code of.
.
Gson Goals
.
* Provide simple toJson() and fromJson() methods to convert Java objects to
JSON and vice-versa
* Allow pre-existing unmodifiable objects to be converted to and from JSON
* Extensive support of Java Generics
* Allow custom representations for objects
* Support arbitrarily complex objects (with deep inheritance hierarchies and
extensive use of generic types)
Description-md5: 2b1754e95e8fb7186dca1aecb7efcf4b