How To Install libjson4s-java on Debian 10

Learn how to install libjson4s-java on Debian 10 with this tutorial. libjson4s-java is Single AST to be used by other scala json libraries

Introduction

In this tutorial we learn how to install libjson4s-java on Debian 10.

What is libjson4s-java

libjson4s-java is:

This project aims to provide a single AST to be used by other scala json libraries. This project also attempts to set lift-json free from the release schedule imposed by the lift framework.

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

Install libjson4s-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 libjson4s-java using apt-get by running the following command:

sudo apt-get -y install libjson4s-java

Install libjson4s-java Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libjson4s-java

Install libjson4s-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 libjson4s-java using aptitude by running the following command:

sudo aptitude -y install libjson4s-java

How To Uninstall libjson4s-java on Debian 10

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

sudo apt-get remove libjson4s-java

Uninstall libjson4s-java And Its Dependencies

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

sudo apt-get -y autoremove libjson4s-java

Remove libjson4s-java Configurations and Data

To remove libjson4s-java configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge libjson4s-java

Remove libjson4s-java configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libjson4s-java

Dependencies

libjson4s-java have the following dependencies:

References

Summary

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