How To Install node-concordance on Debian 12

Learn how to install node-concordance on Debian 12 with this tutorial. node-concordance is Node.js library to compare, format, diff and serialize any JavaScript value

Introduction

In this tutorial we learn how to install node-concordance on Debian 12.

What is node-concordance

node-concordance is:

Concordance recursively describes JavaScript values, whether they’re booleans or complex object structures. It recurses through all enumerable properties, list items (e.g. arrays) and iterator entries.

The same algorithm is used when comparing, formatting or diffing values. This means Concordance’s behavior is consistent, no matter how you use it.

There are three methods to install node-concordance 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 node-concordance Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install node-concordance

Install node-concordance Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install node-concordance

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

sudo aptitude -y install node-concordance

How To Uninstall node-concordance on Debian 12

To uninstall only the node-concordance package we can use the following command:

sudo apt-get remove node-concordance

Uninstall node-concordance And Its Dependencies

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

sudo apt-get -y autoremove node-concordance

Remove node-concordance Configurations and Data

To remove node-concordance configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge node-concordance

Remove node-concordance configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge node-concordance

Dependencies

node-concordance have the following dependencies:

References

Summary

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