How To Install libjs-jquery.sparkline on Kali Linux

In this tutorial we learn how to install libjs-jquery.sparkline on Kali Linux. libjs-jquery.sparkline is library for jQuery to generate sparklines

Introduction

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

What is libjs-jquery.sparkline

libjs-jquery.sparkline is:

This jQuery plugin generates sparklines (small inline charts) directly in the browser using data supplied either inline in the HTML, or via javascript.

The plugin is compatible with most modern browsers and has been tested with Firefox 2+, Safari 3+, Opera 9, Google Chrome and Internet Explorer 6, 7, 8, 9 & 10 as well as iOS and Android.

The plugin was written by Gareth Watts for Splunk Inc.

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

sudo apt-get -y install libjs-jquery.sparkline

Install libjs-jquery.sparkline Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libjs-jquery.sparkline

Install libjs-jquery.sparkline 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.sparkline using aptitude by running the following command:

sudo aptitude -y install libjs-jquery.sparkline

How To Uninstall libjs-jquery.sparkline on Kali Linux

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

sudo apt-get remove libjs-jquery.sparkline

Uninstall libjs-jquery.sparkline And Its Dependencies

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

sudo apt-get -y autoremove libjs-jquery.sparkline

Remove libjs-jquery.sparkline Configurations and Data

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

sudo apt-get -y purge libjs-jquery.sparkline

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

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

sudo apt-get -y autoremove --purge libjs-jquery.sparkline

Dependencies

libjs-jquery.sparkline have the following dependencies:

References

Summary

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