How To Install libjackson-json-java on Debian 12

Learn how to install libjackson-json-java on Debian 12 with this tutorial. libjackson-json-java is streaming fast powerful standard conformant json processor in java

Introduction

In this tutorial we learn how to install libjackson-json-java on Debian 12.

What is libjackson-json-java

libjackson-json-java is:

Jackson is a Java-based JSON-processing package that contains:

  • high-performance streaming JSON parser/generator
  • Tree Model that can be built from/written to parser/generator
  • Object Mapper that implements data binding to/from
  • parser/generator

API of streaming parser/generator is similar to Stax API used for efficient xml processing on Java platform.

Beyond VERY fast Json parser and generator, Jackson project also offers full data binding support through 2 different approaches: “Object Mapper” for full POJO to/from Json data mapping (similar to JAXB2) and “Tree Mapper” for something similar to DOM and XPath.

There are three methods to install libjackson-json-java on Debian 12. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libjackson-json-java Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libjackson-json-java using apt-get by running the following command:

sudo apt-get -y install libjackson-json-java

Install libjackson-json-java Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libjackson-json-java using apt by running the following command:

sudo apt -y install libjackson-json-java

Install libjackson-json-java Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libjackson-json-java using aptitude by running the following command:

sudo aptitude -y install libjackson-json-java

How To Uninstall libjackson-json-java on Debian 12

To uninstall only the libjackson-json-java package we can use the following command:

sudo apt-get remove libjackson-json-java

Uninstall libjackson-json-java And Its Dependencies

To uninstall libjackson-json-java and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove libjackson-json-java

Remove libjackson-json-java Configurations and Data

To remove libjackson-json-java configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge libjackson-json-java

Remove libjackson-json-java configuration, data, and all of its dependencies

We can use the following command to remove libjackson-json-java configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libjackson-json-java

Dependencies

libjackson-json-java have the following dependencies:

References

Summary

In this tutorial we learn how to install libjackson-json-java package on Debian 12 using different package management tools: apt, apt-get and aptitude.