How to Install and Uninstall mocha Package on Kali Linux

Last updated: May 13,2024

1. Install "mocha" package

This is a short guide on how to install mocha on Kali Linux

$ sudo apt update $ sudo apt install mocha

2. Uninstall "mocha" package

This guide covers the steps necessary to uninstall mocha on Kali Linux:

$ sudo apt remove mocha $ sudo apt autoclean && sudo apt autoremove

3. Information about the mocha package on Kali Linux

Package: mocha
Source: node-mocha
Version: 10.2.0+ds1+~cs29.5.1-1
Installed-Size: 907
Maintainer: Debian Javascript Maintainers
Architecture: all
Provides: node-flat (= 6.0.0), node-log-symbols (= 5.1.0), node-mocha (= 10.2.0), node-mocha (= 10.2.0+ds1+~cs29.5.1-1), node-types-mocha (= 10.0.1), node-workerpool (= 6.4.0), node-yargs-unparser (= 2.0.0)
Depends: node-ansi-colors, node-browser-stdout, node-camelcase, node-chalk, node-chokidar, node-debug, node-decamelize, node-diff, node-escape-string-regexp, node-find-up, node-glob, node-growl, node-he (>= 1.2.0), node-is-plain-obj, node-is-unicode-supported, node-js-yaml (>= 3.13.1), node-minimatch, node-ms, node-nanoid, node-serialize-javascript, node-strip-json-comments, node-supports-color, node-which, node-wide-align (>= 1.1.3), node-yargs (>= 13.2.2), node-yargs-parser (>= 13.0.0), nodejs:any (>= 14)
Suggests: chai
Breaks: node-typescript-types (<< 20201003-1~)
Size: 165048
SHA256: 541bcda010be8ec51adb966b422c7dee48410c06f49c1ac79ef53f0533fa815e
SHA1: 5750bc2a619e08ab8410614c661fb112da02c543
MD5sum: 38c96596c1ddc9bc2473994aa765f23b
Description: simple, flexible, fun test framework - Node.js module
Mocha is a feature-rich JavaScript test framework running
on Node.js and browser, making asynchronous testing
simple and fun.
.
Mocha tests run serially, allowing for flexible and accurate
reporting, while mapping uncaught exceptions to the correct
test cases.
.
Node.js is an event-based server-side JavaScript engine.
Description-md5:
Homepage: https://mochajs.org
Section: web
Priority: optional
Filename: pool/main/n/node-mocha/mocha_10.2.0+ds1+~cs29.5.1-1_all.deb