How To Install node-webassemblyjs on Kali Linux
Introduction
In this tutorial we learn how to install node-webassemblyjs
on Kali Linux.
What is node-webassemblyjs
node-webassemblyjs is:
This package includes: webassemblyjs - WebAssembly interpreter, implements the W3C WebAssembly API. and the following modules under @webassembly name space.
ast - AST utils for webassemblyjs cli - Toolbox for WebAssembly dce - Eliminate unused functions in your WASM binary eslint-plugin-webassembly - ESLint plugin for WebAssembly. floating-point-hex-parser - Parser function for floating point hexadecimals. helper-buffer - Buffer manipulation helpers helper-fsm - FSM implementation helper-wasm-bytecode - Constants for the wasm format helper-wasm-section - Section manipulation helpers leb128 - LEB128 decoding repl - WebAssembly REPL. validation - Module AST validations wasm-edit - Replace in-place an AST node in the binary. wasm-gen - WebAssembly binary format printer wasm-opt - WASM optimizer wasm-parser - WebAssembly binary format parser wasm-strip - Strips custom sections (deprecated, use wabt instead) wast-loader - Webpack loader for WebAssembly text format wast-parser - WebAssembly text format parser wast-printer - WebAssembly text format printer wast-refmt - WAST refmt
Node.js is an event-based server-side JavaScript engine.
There are three methods to install node-webassemblyjs
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 node-webassemblyjs Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install node-webassemblyjs
using apt-get
by running the following command:
sudo apt-get -y install node-webassemblyjs
Install node-webassemblyjs Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install node-webassemblyjs
using apt
by running the following command:
sudo apt -y install node-webassemblyjs
Install node-webassemblyjs 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 node-webassemblyjs
using aptitude
by running the following command:
sudo aptitude -y install node-webassemblyjs
How To Uninstall node-webassemblyjs on Kali Linux
To uninstall only the node-webassemblyjs
package we can use the following command:
sudo apt-get remove node-webassemblyjs
Uninstall node-webassemblyjs And Its Dependencies
To uninstall node-webassemblyjs
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove node-webassemblyjs
Remove node-webassemblyjs Configurations and Data
To remove node-webassemblyjs
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge node-webassemblyjs
Remove node-webassemblyjs configuration, data, and all of its dependencies
We can use the following command to remove node-webassemblyjs
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge node-webassemblyjs
Dependencies
node-webassemblyjs have the following dependencies:
References
Summary
In this tutorial we learn how to install node-webassemblyjs
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.