How to Install and Uninstall mocha Package on Debian 11 (Bullseye)

Last updated: April 28,2024

1. Install "mocha" package

Learn how to install mocha on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install mocha

2. Uninstall "mocha" package

Please follow the instructions below to uninstall mocha on Debian 11 (Bullseye):

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

3. Information about the mocha package on Debian 11 (Bullseye)

Package: mocha
Source: node-mocha
Version: 8.2.1+ds1+~cs29.4.27-3
Installed-Size: 882
Maintainer: Debian Javascript Maintainers
Architecture: all
Provides: node-flat (= 5.0.2), node-log-symbols (= 4.0.0), node-mocha (= 8.2.1), node-mocha (= 8.2.1+ds1+~cs29.4.27-3), node-types-mocha (= 8.2.0), node-ungap-promise-all-settled (= 1.1.2), node-workerpool (= 6.0.3), node-yargs-unparser (= 2.0.0)
Depends: node-ansi-colors, node-browser-stdout, node-camelcase, node-chalk, node-chokidar, node-debug (>= 3.1), node-decamelize, node-diff (>= 1.3.0), node-escape-string-regexp, node-find-up, node-glob (>= 7.1.2), node-growl (>= 1.10.5), node-he (>= 1.2.0), node-is-plain-obj, node-js-yaml (>= 3.13.1), node-minimatch (>= 3.0.4), node-ms, node-serialize-javascript, node-strip-json-comments, node-supports-color (>= 4.4.0), node-which, node-wide-align (>= 1.1.3), node-yargs (>= 13.2.2), node-yargs-parser (>= 13.0.0), nodejs (>= 4)
Suggests: chai
Breaks: node-typescript-types (<< 20201003-1~)
Description: simple, flexible, fun test framework - Node.js module
Description-md5: 70d1e5130e31bf8c972ec24635fac387
Homepage: https://mochajs.org
Section: web
Priority: optional
Filename: pool/main/n/node-mocha/mocha_8.2.1+ds1+~cs29.4.27-3_all.deb
Size: 156836
MD5sum: 658fe38a094bd900b22bd2e5af277631
SHA256: 1d56a36a558f3d040012d0741eaedd55cb8b451aedf56223b6065114e761c921