How to Install and Uninstall mocha Package on Debian 12 (Bookworm)

Last updated: May 13,2024

1. Install "mocha" package

Here is a brief guide to show you how to install mocha on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install mocha

2. Uninstall "mocha" package

In this section, we are going to explain the necessary steps to uninstall mocha on Debian 12 (Bookworm):

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

3. Information about the mocha package on Debian 12 (Bookworm)

Package: mocha
Source: node-mocha
Version: 10.1.0+ds1+~cs29.3.1-1
Installed-Size: 877
Maintainer: Debian Javascript Maintainers
Architecture: all
Provides: node-flat (= 6.0.0), node-log-symbols (= 5.1.0), node-mocha (= 10.1.0), node-mocha (= 10.1.0+ds1+~cs29.3.1-1), node-types-mocha (= 10.0.0), node-workerpool (= 6.2.1), 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~)
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_10.1.0+ds1+~cs29.3.1-1_all.deb
Size: 162380
MD5sum: 6eae295395a24bfa847ce4a5acc5a6e3
SHA256: b77cddc71fc4d4d01ea1ff06309fa9f83aa6134de5835a5acef1a090d68a4129