How To Install liblaxjson1 on Debian 11

In this tutorial we learn how to install liblaxjson1 on Debian 11. liblaxjson1 is relaxed streaming JSON parser library

Introduction

In this tutorial we learn how to install liblaxjson1 on Debian 11.

What is liblaxjson1

liblaxjson1 is:

Official JSON is almost human-readable and human-writable. Disabling a few of the strict rules makes it significantly more so.

This library is intended for parsing user input, such as a config file. It is not intended for serializing or deserializing, or as a format for computer-to- computer communication.

This relaxed streaming JSON parser allows:

  • unquoted keys
  • single quotes '
  • // and /* */ style comments
  • extra commas , in arrays and objects

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

Install liblaxjson1 Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install liblaxjson1

Install liblaxjson1 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install liblaxjson1 using apt by running the following command:

sudo apt -y install liblaxjson1

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

sudo aptitude -y install liblaxjson1

How To Uninstall liblaxjson1 on Debian 11

To uninstall only the liblaxjson1 package we can use the following command:

sudo apt-get remove liblaxjson1

Uninstall liblaxjson1 And Its Dependencies

To uninstall liblaxjson1 and its dependencies that are no longer needed by Debian 11, we can use the command below:

sudo apt-get -y autoremove liblaxjson1

Remove liblaxjson1 Configurations and Data

To remove liblaxjson1 configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge liblaxjson1

Remove liblaxjson1 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge liblaxjson1

Dependencies

liblaxjson1 have the following dependencies:

References

Summary

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