How To Install libjs-headjs on Kali Linux
Introduction
In this tutorial we learn how to install libjs-headjs
on Kali Linux.
What is libjs-headjs
libjs-headjs is:
headjs is a javascript library that has the following features:
- Speed up your apps: Load JS & CSS asynchronously and in parallel, but execute them in order
- Load one asset if a condition is met, else fallback and load a different one
- Manage script dependencies, and execute callbacks once they are loaded
- Cross-browser compatible «pseudo media-queries» let you code against different resolutions & devices
- Fix quirks in specific browsers by quickly applying dedicated CSS/JS logic
- Detect various browsers & their versions
- Check if the client supports a certain Browser, HTML5, or CSS3 feature
- Automatically generates JS and CSS classes for browsers & features that where detected
- Automatically generates CSS classes, to know what page or section a user is viewing
- Know if the user is in landscape or portrait mode
- Or whether the client is using a mobile or desktop device
- Get old browsers to support HTML5 elements like nav, sidebar, header, footer
Node.js is an event-based server-side JavaScript engine.
There are three methods to install libjs-headjs
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-headjs Using apt-get
Update apt database with apt-get
using the following command.
After updating apt database, We can install libjs-headjs
using apt-get
by running the following command:
Install libjs-headjs Using apt
Update apt database with apt
using the following command.
After updating apt database, We can install libjs-headjs
using apt
by running the following command:
Install libjs-headjs 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.
After updating apt database, We can install libjs-headjs
using aptitude
by running the following command:
How To Uninstall libjs-headjs on Kali Linux
To uninstall only the libjs-headjs
package we can use the following command:
Uninstall libjs-headjs And Its Dependencies
To uninstall libjs-headjs
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
Remove libjs-headjs Configurations and Data
To remove libjs-headjs
configuration and data from Kali Linux we can use the following command:
Remove libjs-headjs configuration, data, and all of its dependencies
We can use the following command to remove libjs-headjs
configurations, data and all of its dependencies, we can use the following command:
Dependencies
libjs-headjs have the following dependencies:
References
Summary
In this tutorial we learn how to install libjs-headjs
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.