How To Install libjs-backbone on Kali Linux

In this tutorial we learn how to install libjs-backbone on Kali Linux. libjs-backbone is some Backbone for JavaScript applications - browser library

Introduction

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

What is libjs-backbone

libjs-backbone is:

Backbone gives structure to your serious JavaScript web applications by supplying models with key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing API over a RESTful JSON interface.

This package contains backbone usable directly in web browsers.

RESTful persistence and DOM manipulation with Backbone.View requires either of the packages libjs-jquery libjs-lodash, and libjs-json for older Internet Explorer support.

Optimal rendering of upstream index.html requires the package libjs-jquery-lazyload.

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

sudo apt-get -y install libjs-backbone

Install libjs-backbone Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libjs-backbone

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

sudo aptitude -y install libjs-backbone

How To Uninstall libjs-backbone on Kali Linux

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

sudo apt-get remove libjs-backbone

Uninstall libjs-backbone And Its Dependencies

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

sudo apt-get -y autoremove libjs-backbone

Remove libjs-backbone Configurations and Data

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

sudo apt-get -y purge libjs-backbone

Remove libjs-backbone configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libjs-backbone

Dependencies

libjs-backbone have the following dependencies:

References

Summary

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