How To Install libjs-json-editor on Debian 11

In this tutorial we learn how to install libjs-json-editor on Debian 11. libjs-json-editor is JSON Schema based editor

Introduction

In this tutorial we learn how to install libjs-json-editor on Debian 11.

What is libjs-json-editor

libjs-json-editor is:

JSON Editor takes a JSON Schema and uses it to generate an HTML form. It has full support for JSON Schema version 3 and 4 and can integrate with several popular CSS frameworks (bootstrap, foundation, and jQueryUI).

There are three methods to install libjs-json-editor 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 libjs-json-editor Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libjs-json-editor

Install libjs-json-editor Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libjs-json-editor

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

sudo aptitude -y install libjs-json-editor

How To Uninstall libjs-json-editor on Debian 11

To uninstall only the libjs-json-editor package we can use the following command:

sudo apt-get remove libjs-json-editor

Uninstall libjs-json-editor And Its Dependencies

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

sudo apt-get -y autoremove libjs-json-editor

Remove libjs-json-editor Configurations and Data

To remove libjs-json-editor configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge libjs-json-editor

Remove libjs-json-editor configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libjs-json-editor

Dependencies

libjs-json-editor have the following dependencies:

References

Summary

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