How To Install libjs-jquery-metadata on Kali Linux

In this tutorial we learn how to install libjs-jquery-metadata on Kali Linux. libjs-jquery-metadata is jQuery plugin for parsing metadata from elements

Introduction

In this tutorial we learn how to install libjs-jquery-metadata on Kali Linux.

What is libjs-jquery-metadata

libjs-jquery-metadata is:

Sets the type of metadata to use. Metadata is encoded in JSON, and each property in the JSON will become a property of the element itself.

There are three supported types of metadata storage:

attr: Inside an attribute. The name parameter indicates which attribute.

class: Inside the class attribute, wrapped in curly braces: { }

elem: Inside a child element (e.g. a script tag). The name parameter indicates which element.

The metadata for an element is loaded the first time the element is accessed via jQuery.

As a result, you can define the metadata type, use $(expr) to load the metadata into the elements matched by expr, then redefine the metadata type and run another $(expr) for other elements.

There are three methods to install libjs-jquery-metadata on Kali Linux. 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-jquery-metadata 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-jquery-metadata using apt-get by running the following command:

sudo apt-get -y install libjs-jquery-metadata

Install libjs-jquery-metadata Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libjs-jquery-metadata

Install libjs-jquery-metadata Using aptitude

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

sudo aptitude update

After updating apt database, We can install libjs-jquery-metadata using aptitude by running the following command:

sudo aptitude -y install libjs-jquery-metadata

How To Uninstall libjs-jquery-metadata on Kali Linux

To uninstall only the libjs-jquery-metadata package we can use the following command:

sudo apt-get remove libjs-jquery-metadata

Uninstall libjs-jquery-metadata And Its Dependencies

To uninstall libjs-jquery-metadata and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove libjs-jquery-metadata

Remove libjs-jquery-metadata Configurations and Data

To remove libjs-jquery-metadata configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge libjs-jquery-metadata

Remove libjs-jquery-metadata configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libjs-jquery-metadata

Dependencies

libjs-jquery-metadata have the following dependencies:

References

Summary

In this tutorial we learn how to install libjs-jquery-metadata package on Kali Linux using different package management tools: apt, apt-get and aptitude.